Skip to content

Periodically updates a DNS record in order to use Cloudflare's DNS servers as a Dynamic DNS service

License

Notifications You must be signed in to change notification settings

sebcoetzee/cloudflare-dynamic-dns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudflare Dynamic DNS

Cloudflare Dynamic DNS is a program that allows the use of Cloudflare's DNS servers as a Dynamic DNS service. The program checks the public IP address of the host machine every 5 minutes and updates the DNS record on Cloudflare with the IP address.

Usage

To run the program, execute the binary for your platform. This example uses the binary compiled for Mac OS X.

./bin/cloudflare-dynamic-dns-darwin-amd64 --api_token="<YOUR_CLOUDFLARE_API_TOKEN>" --zone_name="example.com" --subdomain="myhome"

The <YOUR_CLOUDFLARE_API_TOKEN> is your Cloudflare token. For Cloudflare Dynamic DNS to work, the API Token needs at least the following permissions for the specified zone_name:

  • Zone - Zone - Read
  • Zone - DNS - Edit

About

Periodically updates a DNS record in order to use Cloudflare's DNS servers as a Dynamic DNS service

Resources

License

Stars

Watchers

Forks

Packages

No packages published