A simple dynamic domain name server solution for cloudflare.
- IPv4 and IPv6 compatible
- Supports multiple DNS records with the same
type
andname
details - Secure connection to Cloudflare API using HTTPS
- Open source
- 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
andtype
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
This software is released under the GNU AGPLv3 licence