Dynamic DNS

Introduction
This will walk you through some of the more popular (and free) dynamic dns services. This way you will no longer have to remember numbers, instead you will have human usable address.

No-IP Account Setup
Go to http://www.no-ip.com/ and sign up for your free account. Now set up how ever many hosts you want (up to 5 for the free account) It should only take a minute or so. Once this is done, you are ready to install the daemon.

Configuration
Now all you must do is type:

The configuration utility is pretty self-explanatory beyond that.

Post-configuration
All you have left to do is make it start up with the system

..and why don't we just go ahead and start it up now...

Configuration
The configuration file for ddclient is located at /etc/ddclient/ddclient.conf.

Using DynDNS
The DynDNS knowledge base provides an example ddclient.conf with many different options:

However, for a computer behind a router, wishing to use ddclient to update DynDNS with the router's internet-facing IP, the following is all that is needed from the above example:

Other Services
Please note that ddclient supports services other than DynDNS.

Post-configuration
Since /etc/ddclient/ddclient.conf now contains sensitive information, you may wish to set the minimal file permissions:

If you wish to have ddclient run at start-up, add it to the default run-level:

Finally, the following starts ddclient:

freedns.afraid.org
As of subversion r111 or releases after 3.8.0, ddclient supports the IP update protocol used by freedns.afraid.org. You can use the configuration examples in the ddclient section above, with the following configuration snippet instead of the protocol=dyndns2 section.