How to setup Dynamic DNS on a Router

What is a Dynamic DNS?

Dynamic DNS (DDNS) is a service that allows real-time updating of information on domain names of a server name. The most common use  given is to allow the assignment of an Internet domain name to a device with a variable IP address (dynamic IP). This lets you to connect to the device without knowing its IP address at that time.

Dynamic DNS makes possible to use server software on a device with dynamic IP address (as usually provided by many ISP), for example, hosting a website on our home PC without having to hire a third-party hosting; but keep in mind that home PCs may not be as well equipped as the servers in a datacenter, and have all the infrastructure that have these places.

So, why is useful a DDNS service?

The most common use of DDNS is remote access to IP, DVRs, NAS, routers, computers, tablets, cameras, smartphones and any device connected to Internet.

How can I Obtain a DDNS Service?

Some small applications called Automatic Update Client both with DDNS allow us to remotely access devices and files that are connected to the Internet and located in our home, office, etc. Some commercial routers has a module where you can set DDNS parameters, as in the case of D-Link routers, in fact,  the same company provides this service.

Who provides the DDNS service?

Many providers worldwide offer commercial or free Dynamic DNS service for this scenario. The automatic reconfiguration is generally implemented in the user's router or computer, which runs specific software to update the DDNS service. The communication between the user's equipment and the provider is not standardized, although a few standard web-based methods of updating have emerged over time.

Some companies like www.noip.com or www.dyndns.com provides free DDNS service. D-Link company offer this service only for their customers and the creation of a customer account is needed. This would be our first step to configure our router as a DDNS client.

Step 1: create an account on your preferred DDNS service provider, we choose D-Link (www.dlinkddns.com).

Step 2: Once created the user and password you have to add a host. Maybe your DDNS service provider allows you to create several host for free.

 

Step 3: Once the host is created you have configure your router with your host name, user and password. In D-Link Model DIR-505 we can find this on the 'Maintenance' Tab, then 'Dynamic DNS' button

 

Step 4: Save the configuration and the router will reboot quickly, then, you have already your router configured as a Dynamic DNS host. If you want your PC routed as a server you have to configure this as a virtual server.