Difference between revisions of "Dynu.com DDNS configuration"

From Teltonika Networks Wiki
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==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.
 
 
[[File:Private vs public ip.png|1150px]]
 
  
 
== Step 1. Dynu DDNS configuration ==
 
== Step 1. Dynu DDNS configuration ==
 
First of all we need to visit DDNS provider website - '''[https://www.dynu.com https://www.dynu.com]''', once we are here we have two options: create new user or use existing one.
 
First of all we need to visit DDNS provider website - '''[https://www.dynu.com https://www.dynu.com]''', once we are here we have two options: create new user or use existing one.
  
[[File:Dynu starting.jpg|1150px]]
+
[[File:Dynu starting.jpg]]
  
If you do not have existing account click "'''Create Account'''"
+
If you want to create new account click "'''Create Account'''"
  
To login into your account click "'''Login'''"
+
After successful account creation you need to Add new host
  
Enter your account details and press "'''Login'''"
+
=== Adding new host ===
  
[[File:Login_dynu.jpg|1150px]]
 
 
=== Adding new host ===
 
----
 
 
You need to click "'''DDNS services'''"
 
You need to click "'''DDNS services'''"
  
[[File:Control_panel.jpg|1150px]]
+
[[File:Control_panel.jpg]]
  
 
Then "'''Add'''"
 
Then "'''Add'''"
  
[[File:Add.jpg|1150px]]
+
[[File:Add.jpg]]
  
 
And finally you need to choose one of two options to use their domain name (red square) or your personal domain name (blue square) and click "'''Add'''"
 
And finally you need to choose one of two options to use their domain name (red square) or your personal domain name (blue square) and click "'''Add'''"
  
[[File:Host.jpg|1150px]]
+
[[File:Host.jpg]]
  
After all these steps you should see this window
+
After all these steps you should see this window this
  
[[File:final.jpg|1150px]]
+
[[File:final.jpg]]
  
 
== Step 2. Router configuration ==
 
== Step 2. Router configuration ==
To configure the router we need to enter the router's WebUI. To access it enter your router IP (eg. 192.168.1.1), into your web browser's URL bar.
+
To configure router we need to enter RUT homepage. You can do so by entering default IP, that can be found on router (eg. 192.168.1.1), into browser's URL bar.
 
After that you should click "'''Dynamic DNS'''": '''Services''' -> '''Dynamic DNS'''
 
After that you should click "'''Dynamic DNS'''": '''Services''' -> '''Dynamic DNS'''
  
[[File:Dynamic.jpg|1150px]]
+
[[File:dynamic.jpg]]
  
 
Then enter '''new configuration name''' and click '''Add new'''
 
Then enter '''new configuration name''' and click '''Add new'''
Line 63: Line 52:
 
After that it is important to create good "'''Custom update URL'''". It should look like this:
 
After that it is important to create good "'''Custom update URL'''". It should look like this:
 
<br />
 
<br />
<nowiki>http://api.dynu.com/nic/update?hostname=</nowiki>['''DOMAIN''']&myip=['''IP''']&username=['''USERNAME''']&password=['''PASSWORD''']
+
http://api.dynu.com/nic/update?hostname=['''DOMAIN''']&myip=['''IP''']&username=['''USERNAME''']&password=['''PASSWORD''']
 
<br />
 
<br />
'''DOMAIN'''    -> your registered domain eg. teltonikademo.dynu.net
+
'''DOMAIN'''    -> your register domain eg. teltonikademo.dynu.net
 
<br />
 
<br />
 
'''IP'''        -> your IP address eg. 214.154.12.47
 
'''IP'''        -> your IP address eg. 214.154.12.47
Line 71: Line 60:
 
'''USERNAME'''  -> your Dynu account username eg. teltonikademo
 
'''USERNAME'''  -> your Dynu account username eg. teltonikademo
 
<br />
 
<br />
'''PASSWORD'''  -> your Dynu account password eg. yourpassword
+
'''PASSWORD'''  -> your Dynu account password. '''IMPORTANT''' use hash methods that covers your password for security reasons. You can do that [https://www.dynu.com/NetworkTools/Hash here]  eg. 28c7e9d80022be6f5c801cc9a7d0e13ee1647579df1f4911c7cfb6f0cca323f3
<br />
 
'''IMPORTANT''' use hash methods that covers your password for security reasons. You can do that [https://www.dynu.com/NetworkTools/Hash here]   
 
<br />
 
 
<br />
 
<br />
 
Complete URL example: http://api.dynu.com/nic/update?hostname=teltonikademo.dynu.net&myip=212.47.100.158&username=teltonikademo&password=28c7e9d80022be6f5c801cc9a7d0e13ee1647579df1f4911c7cfb6f0cca323f3
 
Complete URL example: http://api.dynu.com/nic/update?hostname=teltonikademo.dynu.net&myip=212.47.100.158&username=teltonikademo&password=28c7e9d80022be6f5c801cc9a7d0e13ee1647579df1f4911c7cfb6f0cca323f3
Line 80: Line 66:
  
 
[[File:Config2.jpg]]
 
[[File:Config2.jpg]]
 
Once you created URL you need to fill in last three fields:
 
<br />
 
Hostname -> your registered domain eg. teltonikademo.dynu.net
 
<br />
 
Username -> your Dynu account username eg. teltonikademo
 
<br />
 
Password -> your Dynu account password eg. yourpassword
 
<br />
 
And click "'''Save'''"
 
<br />
 
[[File:Config3.jpg]]
 
 
=== 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
 
'''System''' -> '''Administration''' -> '''Access control'''
 
 
[[File:Access.jpg]]
 
 
And then click "'''Access Control'''" tab
 
 
[[File:Access control.jpg]]
 
 
Here you need to select "'''Enable remote HTTP access'''" option and press '''Save'''
 
 
[[File:AccessEnable.jpg]]
 
 
== Test your DDNS ==
 
 
Enter your hostname into browser and you should see something similar
 
 
[[File:Testing.jpg]]
 
 
==See also==
 
 
[[Dynamic_DNS]] - general information on the DDNS service.
 
 
[[DDNS Configuration Examples]] - additional examples for different DDNS providers.
 
 
==External links==
 
 
https://www.dynu.com/
 

Revision as of 15:19, 30 January 2018

Step 1. Dynu DDNS configuration

First of all we need to visit DDNS provider website - https://www.dynu.com, once we are here we have two options: create new user or use existing one.

Dynu starting.jpg

If you want to create new account click "Create Account"

After successful account creation you need to Add new host

Adding new host

You need to click "DDNS services"

Control panel.jpg

Then "Add"

Add.jpg

And finally you need to choose one of two options to use their domain name (red square) or your personal domain name (blue square) and click "Add"

Host.jpg

After all these steps you should see this window this

Final.jpg

Step 2. Router configuration

To configure router we need to enter RUT homepage. You can do so by entering default IP, that can be found on router (eg. 192.168.1.1), into browser's URL bar. After that you should click "Dynamic DNS": Services -> Dynamic DNS

Dynamic.jpg

Then enter new configuration name and click Add new

NewA.jpg

After that you will see new line with two options "Delete" and "Edit". Click Edit

NewE.jpg

Dynamic DNS configuration

Once you have completed all steps before you will see window with important DDNS configuration settings. First of all, check "Enable" box

Config.jpg

Next, you need to select service provider: Service, however our routers do not have Dynu as default provider, so you have to select custom.
After that it is important to create good "Custom update URL". It should look like this:
http://api.dynu.com/nic/update?hostname=[DOMAIN]&myip=[IP]&username=[USERNAME]&password=[PASSWORD]
DOMAIN -> your register domain eg. teltonikademo.dynu.net
IP -> your IP address eg. 214.154.12.47
USERNAME -> your Dynu account username eg. teltonikademo
PASSWORD -> your Dynu account password. IMPORTANT use hash methods that covers your password for security reasons. You can do that here eg. 28c7e9d80022be6f5c801cc9a7d0e13ee1647579df1f4911c7cfb6f0cca323f3
Complete URL example: http://api.dynu.com/nic/update?hostname=teltonikademo.dynu.net&myip=212.47.100.158&username=teltonikademo&password=28c7e9d80022be6f5c801cc9a7d0e13ee1647579df1f4911c7cfb6f0cca323f3


Config2.jpg