Skip to content

Releases: parthpower/CloudFlare-DDNS-Client

Alpha Release

01 Jan 01:50
Compare
Choose a tag to compare
Alpha Release Pre-release
Pre-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?

  1. Get zone id and API Key from CloudFlare Dashboard.

  2. 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

  3. Once you have the config file, just ./cf_ddns.sh

  4. 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.