Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.38 KB

README.md

File metadata and controls

23 lines (19 loc) · 1.38 KB

☁️ Cloudflare DDNS

A simple dynamic domain name server solution for cloudflare.

✅ Features

  • IPv4 and IPv6 compatible
  • Supports multiple DNS records with the same type and name details
  • Secure connection to Cloudflare API using HTTPS
  • Open source

🔧 Setup

  • Download the git repo using git clone https://github.com/TomStowe/Cloudflare-DDNS
  • Update config.json with the following values for each cloudflare domain:
    • Add your authentication details (either your email address and key or your token which is capable of edit DNS functionality). Find out more here
    • Add the zoneId, found in the overview tab of the cloudflare dashboard
    • Add the relevant DNS details (name and type fields are required) for each DNS record you want to update
  • Run python3 setup.py to setup the config (this will need to be re-run if you update the DNS records on cloudflare that are stored in the config at any point)
  • Schedule the DDNS script to run on startup of the machine. For example using a cron job: run crontab -e and add @reboot /usr/bin/python3 CURRENT_DIRECTORY/main.py

🎓 Licence

This software is released under the GNU AGPLv3 licence

👨 The Author

Please click here to see more of my work!