If you need remote access to a computer whose IP changes dynamically, ddclient may be the tool for you. Check out this previous article for how to set up ddclient using a free service like DynDNS. Once set up, you will be able to connect to your box using a pretty name like mybox123.dyndns.org, rather than having to keep track of the changing IP. I should mention that there are many other free DNS services besides dyndns.com, and that many home routers can take care of Dynamic DNS for you (i.e., you can set it up on the router, rather than on your computer).
Today, however, we have a more complicated task. This article will teach you how to:
- make ddclient update multiple host names
- make ddclient update the IP of multiple interface (e.g., your ethernet and your wireless lan)
- set up ddclient so that it updates correctly regardless of whether you are on a wired or wireless connection
- make ddclient use either your interface address (may be local, e.g. 192.168.1.15) or the address that is visible from the internet.