script for updating ip address on dyndns with ddclient if public ip changed
long time ago (very long) i set up a script which wrote the current date into a file and checked every hour whether the current date is different to that from the file .. and if so update dyndns …
pretty stupid .. right!
so i set up a new .. more reasonable one …
this one checks the current public ip address with the one set on dyndns ip (thanks!) ..
if it differs the dyndns ip is updated with the current public ip address …
you can find it (dyndnsCheckUpdate.sh) on github within my bash_scripts repository …
i now added this script as cron job to run every 15 minutes …