Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 379 Bytes

README.md

File metadata and controls

7 lines (5 loc) · 379 Bytes

cloudflare-ddns-script

Script to update cloudflare dns record for a WAN ip change. Useful if one has a residential dynamic ip.

It requires jq to parse the json response from cloudflare api and grab the dns record id.

Can be very easily added to cron:
*/1 * * * * $PATH_TO_SCRIPT/cloudflare-ddns.sh >> $PATH_TO_SOMEWHERE/ipchange.log 2>&1