DDNS Update Rate?

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

Mike S

Regular Contributor
I have an Asus RT-AC88U Router running Asuswrt-Merlin Ver 384.18. The router is located behind a DSL Router and has a private WAN Address. I have configured the router DDNS service using the Asus.com server.

Everything seems to work fine. However, today my DSL link went down, and when the service came back up, I was assigned a different IP address. 6 hours later the DDNS address had not yet been updated.

How frequently does the router check the external IP address to see if it has changed? Is it possible to adjust this, so that checks are made more frequently?
 

GSpock

Senior Member
1623128872449.png
 

dosborne

Very Senior Member
The router system log should have entries when it updates, or show why an update failed.
 

Mike S

Regular Contributor
The router system log should have entries when it updates, or show why an update failed.
I'm not looking for reasons an update failed. I'm trying to figure out how frequently the router checks the IP address when I am using the asus.com server, and how to adjust this frequency. This appears to be possible when you are using the No-ip.com server, but that frequency field is missing when configuring the asus.com server.
 

ahab

New Around Here
I have a similar problem. A few weeks ago Verizon rolled my IP to a new one and for almost a month I haven't been able to get my DDNS to update. From outside the network a tracert still shows the old IP. Running the ASUS lookup at http://iplookup.asus.com/nslookup.php reports my old IP as well. I've rebooted the router multiple times, I set the force update interval on the WAN<->DDNS tab to 1 day, I've started and stopped the DDNS client while the router is up, and I've changed the Method to retrieve from Internal to External and back but nothing has had an effect.

A few hours ago I get yet another IP as a result of rebooting the router a couple times (I guess), and still DDNS resolves to my original IP address. What am I missing?
 

Mike S

Regular Contributor
I have a similar problem. A few weeks ago Verizon rolled my IP to a new one and for almost a month I haven't been able to get my DDNS to update. From outside the network a tracert still shows the old IP. Running the ASUS lookup at http://iplookup.asus.com/nslookup.php reports my old IP as well. I've rebooted the router multiple times, I set the force update interval on the WAN<->DDNS tab to 1 day, I've started and stopped the DDNS client while the router is up, and I've changed the Method to retrieve from Internal to External and back but nothing has had an effect.

A few hours ago I get yet another IP as a result of rebooting the router a couple times (I guess), and still DDNS resolves to my original IP address. What am I missing?
Is your router behind a Verizon router with a private WAN address, or is the WAN address of the router the public address on the Verizon network?

If your Asus router has a private WAN address, the DDNS setting should be "external". In my situation, when I rebooted the router, the Asuscomm.com address was updated immediately. Note: You need to use http://iplookup.asus.com/nslookup.php to check this, as your computer may have cached the old address, which will potentially take some time to get updated.

If the asuscomm.com DDNS address does not get updated when you reboot, you have a different problem than what I encountered.
 

RMerlin

Asuswrt-Merlin dev
Try enabling DDNS debugging:

Code:
nvram set ddns_debug=1
service restart_ddns

Then check the log content.
 

ahab

New Around Here
Thanks for the responses. Firstly, yes, the WAN address of the router is the public address on the Verizon network and not behind any private range addresses.

The Log report points to a problem for sure but googling it doesn't get me too far.

Jun 9 17:42:15 inadyn[6662]: Failed resolving hostname ns1.asuscomm.com: Name or service not known

One thing that strikes a chord is perhaps a misconfigured certificate? I did struggle with that a bit. Do I need to regen a new cert?

1623275795826.png


Edit: I found some instructions in another post to check the contents of /etc/inadyn.conf. This is what I found:

provider [email protected] {
hostname = XXXXXXXX.asuscomm.com
username = '3X:7X:3X:6X:3X:CX'
password = 'XXXXXXXX'
}
iterations = 1
iface = eth0
ca-trust-file = /etc/ssl/certs/ca-certificates.crt
secure-ssl = false

Edit #2: I cannot tracert to ns1.asuscom.com while going out through this network. I jumped off and connected my laptop to my phone hotspot and then the tracert works. Something is wonky in my router config and it's blocking a connection to the asuscomm nameserver1. So, that's my problem at least. I'd rather not wipe and reload the router but perhaps that's the swiftest course of action.
 
Last edited:

dave14305

Part of the Furniture
The Log report points to a problem for sure but googling it doesn't get me too far.
Take it at face value. The message is saying the router could not resolve hostname ns1.asuscomm.com. So look at your WAN DNS settings and try to run nslookup ns1.asuscomm.com from the router SSH command line.
 

ahab

New Around Here
For sure a DNS problem. I can't get to ns1.asuscomm.com from a DOS box or from PuTTY. What I don't get is why that's my only problem. I'm using OpenDNS and everything else seems to be configured properly, it's just this one piece that isn't working. When I revert back to my ISP's DNS on the WAN page then nslookup to ns1.asuscomm.com works. Confusing.

I think this has more to do with my lack of understanding of how to configure OpenDNS and possibly DNScrypt. Once I changed to my ISPs DNS then my DDNS updated immediately. Problem solved. I changed back to OpenDNS and everything else still works, except I can't get to ns1.asususcomm.com. Not sure that I care until my ISP updates my IP again.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top