Dynamic DNS service
Dynamic DNS allows you to have a DNS name while your IP address changes frequently. You will need to register for an account with one of the dynamic DNS providers. This service is often provided freely.
More information:
Popular dynamic DNS registration sites:
Installation ddclient (dyndns and others)
This client updates the DynDNS record automatically.
sudo apt-get install ssh libio-socket-ssl-perl ddclient
Follow the instructions. Additionally configure a longer update interval 'daemon=3600' and use SSL:
sudo gedit /etc/ddclient.conf
protocol=dyndns2 use=web, web=checkip.dyndns.com, web-skip='IP Address' server=members.dyndns.org login=**dyndns-login** password='**dyndns-pwd**' wilbertvolkers.dyndns.org daemon=3600 ssl=yes
View ddclient logging:
cat /var/log/syslog* | grep 'ddclient'
Test/force refresh:
sudo ddclient -force
Reconfigure and restart, you can edit the config file instead:
sudo dpkg-reconfigure ddclient sudo /etc/init.d/ddclient restart
Installation ipUpdate (dnsexit)
The interface uses an (unsecure) http protocol and it is strongly recommended to configure a different password for this service. Logon at http://www.dnsexit.com and go to My Account -> Account profile -> IP Update Password.
TODO
Remarks
Note that when your IP address has changed, the ddcient needs to announce this to your dyndns service. Then it is still possible that the DNS you are using does not give you the new IP address, it may take some time before updates are routed through the DNS network.