/cloudflare-ddns

Scripts for updating the Cloudflare DDNS Api

Primary LanguageShell

cloudflare-ddns

Scripts for updating the Cloudflare DDNS Api

These scripts are working as at 24-Sep-2020. Changes to the api by CloudFlare will likely break them.

CloudFlare's documentation for the Apis used is here.

These scripts are also discussed at my blog here

There's also a golang implementation available.

cf-ddns.sh:

Updates CloudFlare for DDNS Initially based on the commented update by @deluxor on here: https://gist.github.com/larrybolt/6295160, since modified to track CloudFlare API updates

cf-ddns-read.sh:

Reads CloudFlare DNS settings Mainly required for getting the home id parameter for the dns entry to set in the cf-ddns script