/updateip

bash script to update ClouDNS.net

Primary LanguageShell

updateip

Bash script to update ClouDNS.net dynamic hostname with your current external ip address.

The script tracks both your old and current exteral ip address, and only updates the ClouDNS.net hostname when your ip changes.

Install the script and set a cronjob to run every 4 hours.

Installation

cd /etc/ sudo wget https://raw.github.com/prae5/updateip/master/updateip.sh sudo chmod a+x updateip.sh vi updateip.sh

The script will now run every 4 hours and updaate ClouDNS.net when required.

You can also manually run the script ./updateip.sh if required