Resolving a Static Hostname to a Dynamic IP Address Using DynDNS Free


There are occasions when we want to make a computer on a home network or LAN accessible externally on the Internet. For example, remotely connecting to a LAN computer using SSH or remotely accessing a web site residing on a LAN computer.

Before seeing what potential difficulties this creates and how to overcome them, let’s take a look at a typical home network and how it communicates with the outside world.

I use the terms home network and LAN interchangeably and for the purposes of this article they can be considered one and the same.

A Home/Local Area Network (LAN)

A Home/Local Area Network (LAN)



At the network’s centre is the router. To the right, in the diagram above, are the devices connected wirelessly or wired to the router which make-up the home network.

To identify them on the LAN, the router and each device are assigned a unique dynamic or static IP address, in this case in the range to These IP addresses are private and are only recognised within the LAN itself. The IP address is usually reserved for the router.

To provide Internet access to devices on the LAN, the router is typically connected to a modem supplied by the ISP. The router is given a second IP address by the ISP to identify it externally on the Internet e.g. However, unlike its internal private IP address which is static, the router’s external public IP address is often dynamic.

In combination with a method known as port forwarding* we need only enter the router’s external public IP address in a browser i.e. to remotely access the home network over the Internet.

There are two disadvantages to using the router’s external public IP address. The first, is that it can be difficult to remember. The second, and more important, is that it is most likely a dynamic IP address and will therefore change over time. Keeping track of a dynamic IP address can be difficult. Here’s where services such as those provided Dyn come in.

Using their free DynDNS Free service allows you to keep track of your router’s difficult to remember, dynamic public IP address with a more memorable static hostname.

UPDATE: As of May 7th 2014 DynDNS will no longer offer a free service. No-IP is another company that — as of this writing — still offers free dynamic DNS.

After signing-up for an account at Dyn head over to the DynDNS Free configuration page.

DynDNS Free configuration page

DynDNS Free configuration page



1. Enter the hostname you want to use up to a maximum of 24 characters. From the drop-down menu on the right you can choose suffixes other than

2. Ensure that for service type Host with IP address is selected.

3. The configuration page will show your router’s current external public IP address. Click the link to use this one or enter another valid IP address.

4. Click the Add To Cart button and follow the on-screen instructions to complete the configuration and activate your hostname. Don’t be put off by Add To Cart. Like its name suggests, DynDNS Free is free.

With the new hostname activated there’s a second step to the process.

The hostname when entered in a browser will resolve to the router’s external public IP address as it was when the hostname was originally activated i.e. If this is a dynamic IP address, when it changes to say the hostname will still resolve to the original IP address and not the new one.

To overcome this, download one of the DynDNS Updaters and install it on one of the computers on your home network. Add your Dyn account to the DynDNS updater and it will periodically check your router’s external public IP address. If it detects that the IP address has changed, it sends the new IP address to the hostname in your Dyn account.



* NOTE: The process of port forwarding or port mapping is beyond the scope of this article. I mention it only to highlight that having a hostname resolve to your router’s external public IP address is not all that’s required to make a locally networked computer accessible over the Internet.

About the author

A native Brit exiled in Japan, Steve spends too much of his time struggling with the Japanese language, dreaming of fish & chips and writing the occasional blog post he hopes others will find helpful.

3 responses



Recent Comments

Recent Posts