Difference between revisions of "Dyn.com DDNS configuration"

From Teltonika Networks Wiki
 
(6 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
The easiest way to find out this information is to log in to the router's WebUI and check the '''WAN''' widget in the '''Overview''' page. You will be automatically redirected to the Overview page after you log in and the WAN widget will be on the right side of the page, second widget from the top. If the WAN widget displays a Public IP address, your DDNS configuration should work; if it displays a Private IP address, that means you're using a Shared Public IP address and you won't be able to reach your router with the help of DDNS.  
 
The easiest way to find out this information is to log in to the router's WebUI and check the '''WAN''' widget in the '''Overview''' page. You will be automatically redirected to the Overview page after you log in and the WAN widget will be on the right side of the page, second widget from the top. If the WAN widget displays a Public IP address, your DDNS configuration should work; if it displays a Private IP address, that means you're using a Shared Public IP address and you won't be able to reach your router with the help of DDNS.  
  
[[File:Private vs public ip.png]]
+
[[File:Private vs public ip.png|1150px]]
  
== Step 1. DDNS configuration ==
+
==Step 1. DDNS configuration==
First of all we need to visit DDNS provider website - '''[https://account.dyn.com/entrance/]''', once we are here we have two options: create new user or use existing one.
 
  
You need to login into the system using your credentials. If you don’t have a registered account then you need to create one by entering your new account info (you will have to subscribe for a plan with your payment method or you can get a 7 day trial)
+
First of all we need to visit DDNS provider's website - '''https://account.dyn.com/entrance/'''. Once there, we have two options: create a new user or use an existing one.
 +
 
 +
You'll need to login to the system using your credentials. If you don’t have a registered account then you'll need to create one by entering your new account info ('''if you want to try out DynDNS free 7 day trial you will need a valid credit card or you will have to subscribe for a plan with a payment method'''):
  
 
[[File:Login_dyn.png]]
 
[[File:Login_dyn.png]]
  
=== Adding new host ===
+
===Adding new host===
 
+
----
 
In the opened browser window navigate to DynDNS Pro:
 
In the opened browser window navigate to DynDNS Pro:
  
 
[[File:dyn_logged.png]]
 
[[File:dyn_logged.png]]
  
You will se all hosts you have created. To add a host press '''Add New Hostname''' button:
+
You will see all hosts that you have created. To add a new host press the '''Add New Hostname''' button:
  
 
[[File:dyn_hosts.png]]
 
[[File:dyn_hosts.png]]
  
You will be redirected to host creation page. Enter the '''hostname''', select '''Host with IP address''', enter the router’s public '''IP address''' and press '''Activate''':
+
You will be redirected to the host creation page. Enter the '''hostname''', select '''Host with IP address''', enter the router’s public '''IP address''' and press '''Activate''':
  
 
[[File:dyncreatehosts.png]]
 
[[File:dyncreatehosts.png]]
  
== Step 2. Router configuration ==
+
==Step 2. Router configuration==
To configure router we need to enter RUT homepage. To access it enter your router IP (eg. 192.168.1.1), into browser's URL bar.
 
After that you should click "'''Dynamic DNS'''": '''Services''' -> '''Dynamic DNS'''
 
  
[[File:Dynamic.jpg]]
+
Next we'll need to make some configurations from the router's side. Login to the router's WebUI and navigate to '''Services''' → '''Dynamic DNS''':
  
Then enter '''new configuration name''' and click '''Add new'''
+
[[File:Dynamic.jpg|1150px]]
 +
 
 +
Then enter '''new configuration name''' and click '''Add new''':
  
 
[[File:NewA.jpg]]
 
[[File:NewA.jpg]]
  
After that you will see new line with two options "'''Delete'''" and "'''Edit'''". Click '''Edit'''
+
Click the '''Edit''' button located to the left of the newly created DDNS instance:
  
 
[[File:NewE.jpg]]
 
[[File:NewE.jpg]]
  
=== Dynamic DNS configuration ===
+
===Dynamic DNS configuration===
 +
----
 +
In the DDNS configuration window, check the '''Enable''' box.
  
Once you have completed all steps before you will see window with important DDNS configuration settings.
+
Next, you need to select the DDNS service provider in the '''Service''' field. However, RUT routers do not have dyn.com as default provider, so you have to select '''custom'''.
First of all, check "'''Enable'''" box
 
 
 
Next, you need to select service provider: '''Service''', however our routers do not have dyn.com as default provider, so you have to select '''custom'''.
 
 
<br />
 
<br />
After that it is important to create good "'''Custom update URL'''". It should look like this:
+
After that it is important to create a good '''Custom update URL'''. It should look like this:
 
<br />
 
<br />
http://['''username''']:['''password''']@members.dyndns.org/nic/update?hostname=['''hostname''']&myip=['''IP address''']&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG
+
http://['''username''']:['''password''']@members.dyndns.org/nic/update?hostname=['''domain''']&myip=['''IP address''']&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG
 
<br />
 
<br />
 
'''DOMAIN'''    -> your registered domain eg. teltonikademo.dyndns.tv
 
'''DOMAIN'''    -> your registered domain eg. teltonikademo.dyndns.tv
Line 63: Line 63:
 
Complete URL example: http://teltonikaDemo:[email protected]/nic/update?hostname=teltonikademo.dyndns.tv&myip=84.15.129.227&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG
 
Complete URL example: http://teltonikaDemo:[email protected]/nic/update?hostname=teltonikademo.dyndns.tv&myip=84.15.129.227&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG
  
Once you created URL you need to fill in last three fields:
+
Once you have created URL you need to fill in the last three fields:
 
<br />
 
<br />
 
Hostname -> your registered domain eg. teltonikademo.dyndns.tv
 
Hostname -> your registered domain eg. teltonikademo.dyndns.tv
Line 76: Line 76:
 
[[File:dynConfig.png]]
 
[[File:dynConfig.png]]
  
=== Remote access configuration ===
+
===Remote access configuration===
 
+
----
After you complete DDNS configuration last thing you need to do is to allow Remote access using HTTP. These options can be found
+
After you complete the DDNS configuration the last thing you need to do is to allow Remote access using HTTP. This option can be found in '''System''' '''Administration''' '''Access control''':
'''System''' -> '''Administration''' -> '''Access control'''
 
  
 
[[File:Access.jpg]]
 
[[File:Access.jpg]]
  
And then click "'''Access Control'''" tab
+
Click the '''Access Control''' tab
  
 
[[File:Access control.jpg]]
 
[[File:Access control.jpg]]
  
Here you need to select "'''Enable remote HTTP access'''" option and press '''Save'''
+
Here you need to select the '''Enable remote HTTP access''' option and press the '''Save''' button:
  
 
[[File:AccessEnable.jpg]]
 
[[File:AccessEnable.jpg]]
  
== Test your DDNS ==
+
==Test your DDNS==
  
Enter your hostname into browser and you should see something similar
+
Enter your DDNS hostname into the URL field of your web browser and press "Enter". You should be redirected to your router's login page:
  
 
[[File:TestingDyn.png]]
 
[[File:TestingDyn.png]]

Latest revision as of 08:40, 4 July 2019

Preconditions

There is one mandatory precondition for DDNS to work - you must have a Static or Dynamic Public IP address. Dynamic DNS will not work with a Shared Public IP. You can read up more on this in our article on Private and Public IP Addresses.

The easiest way to find out this information is to log in to the router's WebUI and check the WAN widget in the Overview page. You will be automatically redirected to the Overview page after you log in and the WAN widget will be on the right side of the page, second widget from the top. If the WAN widget displays a Public IP address, your DDNS configuration should work; if it displays a Private IP address, that means you're using a Shared Public IP address and you won't be able to reach your router with the help of DDNS.

Private vs public ip.png

Step 1. DDNS configuration

First of all we need to visit DDNS provider's website - https://account.dyn.com/entrance/. Once there, we have two options: create a new user or use an existing one.

You'll need to login to the system using your credentials. If you don’t have a registered account then you'll need to create one by entering your new account info (if you want to try out DynDNS free 7 day trial you will need a valid credit card or you will have to subscribe for a plan with a payment method):

Login dyn.png

Adding new host


In the opened browser window navigate to DynDNS Pro:

Dyn logged.png

You will see all hosts that you have created. To add a new host press the Add New Hostname button:

Dyn hosts.png

You will be redirected to the host creation page. Enter the hostname, select Host with IP address, enter the router’s public IP address and press Activate:

Dyncreatehosts.png

Step 2. Router configuration

Next we'll need to make some configurations from the router's side. Login to the router's WebUI and navigate to ServicesDynamic DNS:

Dynamic.jpg

Then enter new configuration name and click Add new:

NewA.jpg

Click the Edit button located to the left of the newly created DDNS instance:

NewE.jpg

Dynamic DNS configuration


In the DDNS configuration window, check the Enable box.

Next, you need to select the DDNS service provider in the Service field. However, RUT routers do not have dyn.com as default provider, so you have to select custom.
After that it is important to create a good Custom update URL. It should look like this:
http://[username]:[password]@members.dyndns.org/nic/update?hostname=[domain]&myip=[IP address]&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG
DOMAIN -> your registered domain eg. teltonikademo.dyndns.tv
IP -> your IP address eg. 84.15.129.227
USERNAME -> your dyn.com account username eg. teltonikaDemo
PASSWORD -> your dyn.com account password eg. yourpassword
Complete URL example: http://teltonikaDemo:[email protected]/nic/update?hostname=teltonikademo.dyndns.tv&myip=84.15.129.227&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG

Once you have created URL you need to fill in the last three fields:
Hostname -> your registered domain eg. teltonikademo.dyndns.tv
Username -> your dyn.com account username eg. teltonikademo
Password -> your dyn.com account password eg. yourpassword
And click "Save"

DynConfig.png

Remote access configuration


After you complete the DDNS configuration the last thing you need to do is to allow Remote access using HTTP. This option can be found in SystemAdministrationAccess control:

Access.jpg

Click the Access Control tab

Access control.jpg

Here you need to select the Enable remote HTTP access option and press the Save button:

AccessEnable.jpg

Test your DDNS

Enter your DDNS hostname into the URL field of your web browser and press "Enter". You should be redirected to your router's login page:

TestingDyn.png

External links

https://www.dyn.com/

https://account.dyn.com/entrance/