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.
https://3os.org
261 stars 61 forks source link

Update updateDNS.sh #1

Closed aybab2 closed 3 years ago

aybab2 commented 3 years ago

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.