What is DDNS (Dynamic Domain Name System)
and how to use it?

What is DNS?
DNS service (Domain Name System) is used for the conversion of public IP addresses from domain names to the numeric format. This means that there is no need to keep in mind the address 62.121.128.13, but it is sufficient to remember www.dipol.com.pl. Translation of the domain name into the set of numbers is performed by the appropriate DNS server, to which the computer sends a request for the translation of the address. After receiving the response with the numeric address, the computer connects to the relevant computer/server.
Diagram of client - server communication:
1. Which is IP address equivalent to www.dipol.com.pl?
2. www.dipol.com.pl is 62.121.128.13
3. Hi, 62.121.128.13! Send me your website content.
4. Here it is!
Such communication is possible when the destination server has a static public IP address at which it is always accessible. The record, once placed in the database, linking the 62.121.128.13 address with www.dipol.com.pl, is always up to date and constant. Therefore, the client can communicate with the server either by its domain address (using the DNS translation) or directly by the numerical address (without help of DNS service).
What is DDNS?
If we wish to run a server for website hosting or accessing CCTV camera, available from any Internet location and we don't have a static public IP address but a dynamic one supplied by DHCP server (ADSL service is a good example of such an option), we have to use DDNS (Dynamic Domain Name System) service.
How does DDNS work?
Neostrada clients do not have a static IP - it is changed periodically. As we have shown above, in this situation it is impossible to run a server, because the current IP address of the server would have been unknown. DNS server, which translates domain name into numeric form, points at one specific IP. Once the IP number changes, the DNS data ceases to be valid.
The solution is provided by DDNS service. Similarly to DNS server, it provides a database containing relations between domain and numeric addresses, but this database may be updated on request by the domain owner. Thanks to this feature, the server is available in the domain address regardless its actual IP number. In such a case, the access to the server is limited to its domain name translated by DDNS server, unless we know its actual IP number (but of course we do not know how long it will be valid).
We have to remember that when DHCP server changes the IP, it takes some time to detect this change by the client software or router, and, after the notification is sent to DDNS server, it takes another minute or so to send this piece of data to DNS server to update the database. In result, our server will be periodically unavailable up to several minutes, every time the IP address has been changed.
DDNS in action - communication between client and a server without static IP address:
1. Your IP address is 83.17.30.134
2. dipol.no-ip.org is now 83.17.30.134
3. What is the current IP address of dipol.no-ip.org?
4. dipol.no-ip.org is now 83.17.30.134
5. Hi, 83.17.30.134 send me your website content
6. Here it is!
7. Your IP address has changed to 83.17.55.212
8. dipol.no-ip.org is now 83.17.55.212
9. What is the current IP of dipol.no-ip.org?
10. dipol.no-ip.org is now 83.17.55.212
11. Hi, 83.17.55.212. Send me your website content.
12. Here it is!
DDNS service is accessible via a number of providers. Its basic version, sufficient to support the above configuration, is usually free of charge. All devices supporting DDNS usually have several provider addresses preset by default. The most popular are:
DDNS configuration example for TP-LINK TL-W8950N N2908 ADSL router and No-IP.com service

The first step is the creation of an account on the http://www.No-IP.com website. After entering the website click on Create Account.
In the next page, fill in the following boxes:
  • First name,
  • Last name,
  • How did you hear about us,
  • Zip/Postal Code,
  • Intended Use,
  • Email,
  • Password,
  • Confirm Password,
  • Security Question,
  • Your Answer,
  • Birthday.
Then rewrite the words from the Account Verification box, accept the Terms of Service and finally click on
I Accept, Create my Account.
Then the screen confirming the creation of the account and generation of automatic email appears (to the address provided during registration).
Click on the activation link in the message.
Click on login to enter Client Login site.
To log on, fill in the Email and Password boxes.
To create a new DDNS host name, click on the image shown below.
To add a host, you should:
  • enter Hostname,
  • choose domain name e.g. zapto.org,
  • select DNS Host (A),
  • press Create Host.
After creating a new host you can see its IP address. Now you can configure the TP-LINK TL-W8950N N2908 router.
Open the device configuration page (factory default: http://192.168.1.1 Login: admin, Password: admin) and then go to Advanced Setup/DNS/Dynamic DNS bookmark and press Add.
In the appropriate box choose the provider (No-IP), then enter host address, login (email address) and password. Click Save/Apply.