Releases: parthpower/CloudFlare-DDNS-Client
Releases · parthpower/CloudFlare-DDNS-Client
Alpha Release
Installation
It uses jq for JSON parsing. So you may download it from https://stedolan.github.io/jq/download/ or just copy paste the script in terminal.
How do I run it?
-
Get
zone id
andAPI Key
from CloudFlare Dashboard. -
First Run:
./cf_ddns.sh --key <api key> --zone <zone id> --email <your email> --interval 60 --config config.ini --save test.example.com | tee log.txt
-
Once you have the config file, just
./cf_ddns.sh
-
Done! You can find all the DNS records on the CloudFlare dashboard.
./cf_ddns.sh -h
for help.
Notes
- To save a number of API calls this script updates the
A
record only when the host IP changes. It does not periodically check if the record is modified by other means. You can use--always-update-dns
to update the record entry at the interval.