An python script which used to auto update DNS record on Cloudflare to bind the domain to the home computer.
Use my.ipip.net to obtain the current IP address.
Use Cloudflare API to update DNS record.
-
Generate your API Tokens with permission Zone.DNS.Edit, then remember your API Tokens;
-
Change Settings in the top of the script;
-
Run it via cron (Linux) or Task Scheduler (Windows)