Cloudflare DDNS curl scripts that calls CF-API (v4) directly
Instructions and descriptions of variables can be found at the top of each shell script.
- Run
cloudflare-get-zones.sh
to get the zone ID of your domain - Run
cloudflare-get-dns-id.sh
to get the record ID for the subdomain - Put all variables into
cloudflare-ddns.sh
, run it as a test and then set up with cron as* * * * * ./cloudflare-ddns.sh
(run every minute, will only make request to Cloudflare is IP is different to one cached)