I have a couple of boxes (boxen?) at home that I like to access remotely. My broadband provider is really good about a.) not having connectivity issues, and b.) rarely changing my IP addresses. However, I have issues with using Dynamic DNS providers, specifically DynDNS.org, as they will remove your free account if you do not send an IP update at least once a month. Well, having dynamic DNS configured on my routers doesn’t do me any good because they will only send an update to DnyDNS.org if the external IP address changes, which it hasn’t in a very long time. Therefore, my DynDNS.org account is constantly being removed and I have to set it up again.
I know, you’re thinking if the IP never changes, why use dynamic DNS, right? Well, it does change from time to time and I don’t want to pay for a hosted DNS service, no matter how cheap.
While reading Richard Bejtlich’s blog the other day, TaoSecurity, I noticed he did a review on the recently released book Building an Internet Server With Freebsd 6 by Bryan J. Hong. Since I am very interested in FreeBSD, and still new to a lot of the concepts and abilities of the OS, I decided I would buy it, especially since Richard gave it 4 stars on Amazon.com.
Thumbing through the book initially I noticed a chapter on a tool called ddclient, a dynamic DNS update tool for FreeBSD, Linux, and I’m guessing anything that can run Perl and has a connection to the Internet. Since my routers don’t update DynDns.org frequently enough I felt that this tool was worth looking in to. It works like a champ and here is a little how to for setting this up on your machines to update your external IP with DynDNS.org, although it can be configured to work with other dynamic DNS providers.
(more…)