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.
Added capability to send notification email if DNS update occurs.
This allows one to set the script to run frequently with cron, and disable cron emails, yet the script will send an email only when the DNS is changed.
I've tested these changes on my own system and it works as expected.
Also fixed a few typos.
Added capability to send notification email if DNS update occurs. This allows one to set the script to run frequently with cron, and disable cron emails, yet the script will send an email only when the DNS is changed. I've tested these changes on my own system and it works as expected. Also fixed a few typos.