Docker container for running ddclient to keep Cloudflare DNS records up to date
This setup keeps your Cloudflare API email and key in environment variables due to ddclient being incompatible with docker secrets
- Go to Cloudflare dashboard to create an API token
- Click
Create Token, select theEdit zone DNStemplate - Edit the name to something like
ddclient - Set
Zone ResourcestoInclude/Specific zone/<YOUR_DOMAIN> - Click
Continue to summaryand thenCreate Token - Take note of the API key, you will need to put it in your
ddclient.conffile
- Initialize config files by running init.sh:
./init.sh - Input your personal information into
ddclient.conf - Run
docker compose upand check logs