Dynamic DNS on a Router, how to configure

Concept of Dynamic DNS

A dynamic DNS service allows you to identify your PC with a domain name easy to remember, as yourname.YourDynamicDns.com instead of a strange type number 250.198.45.26  and be able to mount a server without complications regardless of whether or not we have a static IP.
An IP address is a set of 4 numbers from 0 to 255 separated by points, that identifies a computer on a network (a set of computers connected together). The same computer will be assigned an IP for each network to which it is connected.
Regardless of your Internet size it is evident from the above definition that all computer, by virtue of being connected to it, will have an IP for which it is known and referenced by other network devices. This IP must be different from another device's IPs of a local network that can assign itself, is given by the ISP.

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.no-ip.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 typing in a web browser the IP 192.168.1.254 we can access the configuration software, then 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.