Cloudflare DDNS

I wonder why they don't just set this as a function.

but the Cloudflare API is a wonderful tool and there's many guides on how to set things up

easiest way I've found is with this

GitHub - fire1ce/DDNS-Cloudflare-Bash: Cloudflare DDNS bash Script for most Linux distributions and MacOS. Choose any source IP address to update external or internal (WAN/LAN). Cloudflare’s options proxy and TTL configurable via the parameters.
Cloudflare DDNS bash Script for most Linux distributions and MacOS. Choose any source IP address to update external or internal (WAN/LAN). Cloudflare's options proxy and TTL configurable via t…

+
a crontab