leamas / ddupdate

Update DNS Data for Dynamic IP Addresses
MIT License
40 stars 28 forks source link

New feature: run script on successful IP update #88

Open ste94pz opened 8 months ago

ste94pz commented 8 months ago

Added the ability to run an external script if the service plugin reports a successful IP update. Only the cloudflare plugin has been updated to support this feature. The script file can be specified in the config file, or passed as argument on the command line. The script will be run with the following command line: $ /path/to/script/file.sh "hostname" "New IPv4 or None" "New IPv6 or None"