How to use a free dynamic DNS service on D-Link router

This tutorial was made on a D-Link DIR-825 router, but should work on any D-Link router with Dynamic DNS option.

What does Dynamic DNS do?
It gives a domain name (address) to a dynamic IP or static. The domain is automatically updated with every IP change of your device through a service called DynDNS.org. There are many dynamic DNS services, but this one is used by D-Link.

Why use a domain name instead of an IP?
The name is static and easier to remember.

Why use a dynamic DNS?
To host any kind of server and access the server easily.

How to use a dynamic DNS service on a D-Link router?
  1. Open a browser.
  2. Go to 192.168.0.1.
  3. Log in to your router (default user: admin, there is no default password, just click Log In). If you don't have a password go to Tools -- Admin -- under Admin Password type the new password -- Save Settings -- log in with the new password.
  4. Go to Tools -- Admin.
  5. Check Enable Dynamic DNS.
  6. Select a dynamic DNS server from the drop down list.
  7. If you already have an account for DynDNS.com, choose www.dyndns.com(Custom).
  8. If you don't have any account, choose www.dlinkddns.com.
  9. Go to dlinkddns.com.
  10. Create an account by pressing Get started!
  11. Choose a username, password, confirm password and type your e-mail, check I agree and click Create Account.
  12. Access your e-mail account and confirm your e-mail address.
  13. Now log in to your newly created account and create a hostname and copy the address from above the field.
  14. After you created a hostname, go back to your router page.
  15. Type yourhostname.dlinkddns.com as Host Name.
  16. Type your Username.
  17. Type your Password.
  18. Confirm you password.
  19. Click on Save Settings.
  20. Open a terminal / Command Prompt and ping yourhostname.dlinkddns.com. You should get the external IP of your router.
  21. Now to check the dynamic DNS you have to change your router external IP address. Go to Tools -- System and press Reboot The Device.
  22. Now ping yourhostname.dlinkddns.com and should show you your new IP address.
  23. To access the server you need to forward the port from Advanced -- Port Forwarding.