Changes

no edit summary
Line 1: Line 1:  
==Summary==
 
==Summary==
   −
This article will guide you through configuring an '''IPv6 DDNS''' AAAA record on noip.com and creating an instance on RUT routers.
+
This article will guide you through configuring an '''IPv6 DDNS''' AAAA record at '''[https://www.noip.com www.noip.com]''' and creating an instance on RUT routers.
    
==Prerequisite==
 
==Prerequisite==
   −
To use the IPv6 DDNS service, you must have a '''Static or Dynamic IPv6 Global Unicast Address (GUA)''' configured in your router WAN interface. Otherwise, it will not work. You can click on the following link to get more information about '''[[IPv6_addressing|IPv6 Addressing]]'''.
+
To use the IPv6 DDNS service, you must have a '''Static or Dynamic IPv6 Global Unicast Address (GUA)''' configured in your router WAN interface. Otherwise, your router will not be able to update the IPv6 DDNS record. Also, you need to have ipv6 connectivity from your laptop to reach your router IPv6 address hostname. You can click on the following link to get more information about '''[[IPv6_addressing|IPv6 Addressing]]''' and '''[https://test-ipv6.com/ here]'''
 +
to test your ipv6 connectivity from your laptop.
    
{| class="wikitable"
 
{| class="wikitable"
 
|+
 
|+
 
<big>IPv6 Global Unicast Addresses</big>
 
<big>IPv6 Global Unicast Addresses</big>
 +
<br> </br>
 
!Prefix
 
!Prefix
 
!Designation and explanation
 
!Designation and explanation
 
|-
 
|-
 
!'''2000::/3'''
 
!'''2000::/3'''
|They are globally routable and reachable IPv6 addresses on the Internet; analogously considered the equivalent of public IPv4 addresses. The operators of networks using these addresses can be found using the Whois servers of the RIRs listed in the registry at: https://www.iana.org/assignments/ipv6-unicast-address-assignments/ipv6-unicast-address-assignments.xhtml
+
|They are globally routable and reachable IPv6 addresses on the Internet. Therefore, in the IPv6 network environment, they are considered the equivalent of public IPv4 addresses. The operators of networks using these addresses can be found using the Whois servers of the RIRs listed in the registry at: https://www.iana.org/assignments/ipv6-unicast-address-assignments/ipv6-unicast-address-assignments.xhtml
 
|}
 
|}
   Line 23: Line 25:  
===Login screen===
 
===Login screen===
 
----
 
----
Login into noip.com system using your credentials. If you don't have a registered account, then you need to create one. You can do that by clicking '''Register'''.
+
Sign in to noip.com platform using your credentials. If you don't have a registered account, then you need to create one. You can do that by clicking on the'''Register''' button.
 
+
<br> </br>
 
[[File:NOIPLoginScreen.png|1200px|center]]
 
[[File:NOIPLoginScreen.png|1200px|center]]
   Line 30: Line 32:  
----
 
----
 
After successfully logging into your account, in the control panel dashboard go to the "quick add" section and select '''More Records'''
 
After successfully logging into your account, in the control panel dashboard go to the "quick add" section and select '''More Records'''
 
+
<br> </br>
 
[[File:MoreRecordsNoip.png|1200px|center]]
 
[[File:MoreRecordsNoip.png|1200px|center]]
 
+
<br> </br>
A new window will prompt in your web browser; fill out the information according to your hostname and domain of preference, select the AAAA record, enter the '''loopback address''' for each Internet protocol accordingly and click on '''create hostname'''.
+
A new window will prompt on your web browser; fill out the information according to your hostname and domain of preference, select '''AAAA''' as type of register, introduce the '''loopback address''' for each Internet protocol accordingly, and finally click on '''create hostname'''.
 
+
<br> </br>
 
[[File:CreateAAAARecord.png|800px|center]]
 
[[File:CreateAAAARecord.png|800px|center]]
   −
===Record Validation===
+
===Hostname Verification===
 
----
 
----
Check the record you just have created has an '''Active''' button below the hostname. Don't worry about the warning signal displayed in the '''Last Update''' field; it's just to inform you that no dynamic update has been detected yet.
+
Check the record you just have created shows an '''Active''' button below the hostname. Don't worry about the warning signal displayed in the Last Update field; it's just to inform is not detecting any dynamic updates yet.
 
+
<br> </br>
 
[[File:AAAAverification.png|1200px|center]]
 
[[File:AAAAverification.png|1200px|center]]
   −
'''Note:''' For further verifications, you can send a query to check the DNS records for your given domain name by introducing at your laptop command prompt or shell terminal the '''nslookup''' command as shown below:
+
'''Note:''' For further verifications, check the DNS records for your given domain name by introducing at your laptop command prompt or shell terminal the '''nslookup''' command as shown below:
 
+
<br> </br>
 
[[File:Nslookup2.png|500px|center]]
 
[[File:Nslookup2.png|500px|center]]
    
==Step 2: Router configuration==
 
==Step 2: Router configuration==
   −
===CLI configuration===
+
===CLI Configuration===
 
----
 
----
You will need to configure an script to get your current WAN IPv6 addresss on your device and send it to noip.com servers. In order to accomplish this task, enter to your router Command line interface, create a directory to store your scripts and add the following script to your router configuration:
+
You will need to configure a script to get your current WAN IPv6 address and send it to noip.com servers. To accomplish this task, login into your router Command-line interface, create a directory to store your scripts, and add the following script to your router configuration:
    
{| class="wikitable"
 
{| class="wikitable"
 +
<big> '''Script: getwanip.sh''' </big>
 
|-     
 
|-     
 
|<td>  
 
|<td>  
Line 66: Line 69:     
Suggested PATH: '''/root/scripts/getwanip.sh'''
 
Suggested PATH: '''/root/scripts/getwanip.sh'''
<br> '''Note''': '''getwanip.sh''' is the name of the script. </br>
+
<br> </br>
<br>
+
Give execution privileges to the script by executing at the Command-line interface: '''chmod +x /root/scripts/getwanip.sh'''
Don’t forget to give the script execution privileges: '''chmod +x /root/scripts/getwanip.sh'''
      
===WebUI Configuration===
 
===WebUI Configuration===
 
-----
 
-----
 
Now open your RUT homepage and download the DDNS package if it hasn't been installed yet. Next, open the DDNS configuration panel by clicking '''Services → Dynamic DNS'''
 
Now open your RUT homepage and download the DDNS package if it hasn't been installed yet. Next, open the DDNS configuration panel by clicking '''Services → Dynamic DNS'''
 +
<br> </br>
 +
 +
[[File:DDNSWebUI.png|1200px|center]]
 +
 +
====DDNS Configuration Name====
 +
----
 +
Edit the current '''MYDDNS''' instance by selecting the pencil icon or create a new DDNS instance by typing a new '''DDNS NAME''' and clicking on the '''ADD''' button. For the simplicity purposes of this guide, we are going to edit the current instance named '''MYDDNS'''.
 +
 +
====Configuration Settings====
 +
----
 +
A new window will prompt on your WebUI, fill out the fields according to the information bellow:
 +
* Switch the '''Enable''' toggle to the on position.
 +
* Switch the '''Use HTTP Secure''' toggle to the on position. '''(Optional)'''
 +
* At  '''Lookup Hostname''' and '''Domain'''introduce the no-ip.com hostname previously created. '''(They all must match)'''
 +
* Choose no-ip.com as '''DDNS Service Provider'''
 +
* Type in your credentials used to create your no-ip.com account.
 +
* Select '''Script''' as the '''Ip address Source'''
 +
* At '''Event Network''', select the interface where the ipv6 address is enabled.
 +
* Introduce your Script PATH.
 +
* Choose the update interval of your preference and to finish, click on '''SAVE & APPLY''' to save and load your configuration.
 +
 +
<br>
 +
[[File:Ddnsconfig.png|600px|center]]
 +
 +
==Step 3: Try Your DDNS Service==
 +
 +
===Status===
 +
----
 +
 +
Wait up to '''5''' minutes from the time you saved the changes. In the Status column, you can see when the last time the DDNS was updated. After updating, it should display the '''127.0.0.1''' IPv4 address.
 +
 +
[[File:DDNSstatus.png|1200px|center]]
 +
 +
By doing a DNS lookup, check if the ipv6 address of your hostname record was updated.
 +
<br> </br>
 +
[[File:NslookupDDNSrunning.png|600px|center]]
 +
 +
 +
Also, you can check your no-ip.com hostname current ipv6 address by clicking on the cogwheel that appears at the right of your hostname record.
 +
[[File:CogwheelNo-IP.png|1200px|center]]
 +
 +
 +
A new window will prompt on your web browser, and will display the updated IPv6 address.
 +
[[File:DDNSRunningNo-IP.png|600px|center]]
 +
 +
===Connect To Your Host===
 +
----
 +
Recall you must have ipv6 connectivity on your laptop to reach your router login page. You can test your IPv6 connectivity by clicking '''[https://test-ipv6.com/ here]'''. Also, your router must be enable to allow '''[[Remote_WebUI_Access#WAN_Interface |Remote HTTP(S) Access]]'''.
 +
 +
Try to access the host by entering your hostname in your internet browser's URL bar.
 +
 +
[[File:Teltonikademologinpage.png|1200px|center]]
 +
 +
'''Note''': If you have a VPN service enabled on your laptop, you may not reach your router WebUI by just typing the domain name on your web browser; instead, you should enter the full ipv6 address between brackets e.g.: https://[2001:AAAA:BBBB:CCCC::0001].
 +
 +
[[File:Teltonikademoiplogin.png|1200px|center]]
 +
 +
==Logs verification==
 +
If you have followed the steps above, you should have correctly setup your DDNS service. However, for debugging purpuses, you can verify the DDNS generated logs by executing in the Command-Line interface the command: '''cat /tmp/logs/ddns/{yourddnsinstance.log}''' . This command will show you the current ddns configuration and the messages beetwwen noip.com servers and your router everytime it sends its updates. In the picture below, you will find a log message response from noip.com server at the moment of successfully updating the new IPv6 address:
   −
===DDNS configuration name===
     −
===Configuration settings===
+
[[File:Logs2DDNS.png|900px|center]]
   −
==Step 3: Try your DDNS  ==
     −
===Enable remote HTTP access===
+
==See Also==
 +
* [[Dynamic DNS]] - general information on the DDNS service.
 +
* [[DDNS Configuration Examples]] - additional examples for different DDNS providers.
   −
===Connect to your host===
+
==External links==
 +
* https://www.noip.com
 +
* https://test-ipv6.com
 +
* https://openwrt.org/docs/guide-user/services/ddns/client

Navigation menu