Dynamic DNS

Jul 29, 2011·
Julio Batista Silva
Julio Batista Silva
· 2 min read
blog Redes

I often need to reach my computer remotely to transfer files, stream music or manage programs.

To do that I need to know the IP address assigned to my computer, but both the NET and Speedy providers use a dynamic IP system.

With the IP changing constantly, working out the current address becomes a lot of work, unless we use dynamic DNS, a system that ties a known domain to my computer’s IP address, almost in real time.

At this link there is a list of several Dynamic DNS providers. The best known ones that offer free plans are DynDNS, No-IP, CDmon and FreeDNS. I will use DynDNS to configure my Netgear 3500L router in this tutorial.

Creating a free dynamic DNS host

  1. Go to dyndns.com, create an account and log in.

  2. Under Services, look for Dynamic DNS Free and then go to Create Free Hostname. Pick a hostname that is easy to remember (I chose jbsilva.dyndns.org), fill the IP field with your own IP ($ curl ifconfig.me) and check out.

    Done! Your computer is now tied to the hostname you chose and can be reached from any browser.

Configuring the router

Now we will configure the router to keep the service always up to date with the current IP.

  1. On the router’s page (http://10.0.0.1), click the Dynamic DNS tab

  2. Check the Use a Dynamic DNS Service option

  3. Fill in the fields with the details of the account you created earlier

    Service Provider: www.DynDNS.org
    Hostname: jbsilva.dyndns.org (without http)
    User Name: your user name
    Password: your password
    
  4. Click Apply and then “Show status”. If you see something like the following screen, everything was configured correctly:

    <jbsilva.dyndns.org/201.43.81.111> updated successfully at 07:12PM,07/28/2011
    
Julio Batista Silva
Authors
Senior Cloud Developer

I’m a Brazilian-German computer engineer based in Germany, passionate about tech, science, photography, and languages.

I’ve been programming for about two decades already, exploring everything from mobile apps and web development to machine learning. These days I focus on cloud SRE and data engineering.

I volunteer in the open source and Python communities, helping organize PyCon DE and PyData Berlin, serving on the PSF D&I Work Group, mentoring, and contributing code and translations.

On my blog, I share Linux tips, setup guides, and personal notes I’ve written for future reference. I hope others find them helpful as well. The content is available in multiple languages.

Browse my gallery for some of my photography.

Away from the keyboard, you’ll find me at concerts, playing clarinet, cycling, scuba diving, or exploring new places, cultures, and cuisines.

Always happy to connect! 🙂

comments powered by Disqus