Skip to content

Bash and Python3 DDNS Updater using the latest Cloudflare DNS API. Simple and effective.

License

Notifications You must be signed in to change notification settings

bashrootshell/cloudflare-ddns-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloudflare-ddns-updater

Bash and Python3 DDNS Updater for Cloudflare DNS API

Change values according to your needs (proxied, TTL, DOMAIN_NAME)

Simple bash and python scripts to update a DNS record at Cloudflare's DNS Zone, acting as a DDNS provider. Python's implementation is actually way simpler than other python scripts out there.

PS:

  • Read the documentation and make use of API Tokens (Bearer Tokens) (https://developers.cloudflare.com/api/keys) instead of API Keys.

  • It assumes a proxied record (all HTTP/HTTPS traffic goes through Cloudflare's CDN).

  • If the actual DNS record is proxied, running the dig command (as many scripts out there have been doing) does not return the real IP address, but the Cloudflare's Reverse Proxy IP addresses instead.

About

Bash and Python3 DDNS Updater using the latest Cloudflare DNS API. Simple and effective.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published