>Dynamic DNS

>Using Dynamic DNS is easy. There are several clients to choose from in Ubuntu (or practically any OS).

I used ddclient, Description:
Update IP addresses at dynamic DNS services
A perl based client to update your dynamic IP address at DynDNS.com
(or other dynamic DNS services such as Hammernode, Zoneedit or
EasyDNS), thus allowing you and others to use a fixed hostname
(myhost.dyndns.org) to access your machine. This client supports both
the dynamic and (near) static services, MX setting, and alternative
host. It caches the address, and only attempts the update if the
address actually changes.

It’s also the recommended client from DynDNS.com which is the service I decided to use. Did I mention it’s free. They also have a nice readme to follow.

Installing ddclient will basically ask you a bunch of questions as to what DNS provider you use, what interface to query on, your login, password, and the domain to link to.
All of that is stored in a /etc/ddclient.conf and the last change I needed to make was change the line:
use=eth0?
to
use=web

This let’s it get around the fact that my router is in the way, by checking IPs using a whatismyip.com like service. You probabley could have changed that when you initially set up the interface to check on, but I didn’t think of that.

Forward the required ports on your router for whatever service you want to share (and secure it) and you now have a Dynamic DNS server.

Leave a Reply

Your email address will not be published. Required fields are marked *