What's new

System log - DDNS starting every 30 sec

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Wishmaster1965

Regular Contributor
So my system log is filling with

LOG.jpeg



So looking at above I see that the watchdog runs Start ddns every 30sec. The issue I have is that I have a static IP, so this only needs to run less frequently.

Where do I look to change this ?

I checked crontab but it look like its not there.
 
Last edited:
Yes, registration successful

But why every 30 seconds, When set to update every 21 days ?

DDNS.jpg
 
Last edited:
Why does this thread have a red 'Beta' label? Should that be changed or removed? :)
 
My mistake, removed :rolleyes:
 
Nothing for the first
nvram get ddns_return_code_chk =200
 
So after testing this for a few hours its the same as posted before.
 
Last edited:
Enable DDNS debugging to get more info.

Code:
nvram set ddns_debug=1
 
The only thing I see that error's is on the last 2 lines

Feb 24 12:37:58 RT-AC88U-EB98 watchdog: start ddns.
Feb 24 12:37:58 RT-AC88U-EB98 rc_service: watchdog 687:notify_rc start_ddns
Feb 24 12:37:58 RT-AC88U-EB98 custom_script: Running /jffs/scripts/service-event (args: start ddns)
Feb 24 12:37:59 RT-AC88U-EB98 start_ddns: update FREEDNS.AFRAID.ORG default@freedns.afraid.org, wan_unit 0
Feb 24 12:37:59 RT-AC88U-EB98 custom_script: Running /jffs/scripts/service-event-end (args: start ddns)
Feb 24 12:38:01 RT-AC88U-EB98 inadyn[19512]: In-a-dyn version 2.8.1 -- Dynamic DNS update client.
Feb 24 12:38:01 RT-AC88U-EB98 inadyn[19512]: Resolving hostname xx.xxx.xx=> IP# xx.xx.xx.xx
Feb 24 12:38:01 RT-AC88U-EB98 inadyn[19512]: Base64 encoded string: YnNtaXRoMTk2NTpSeWFuMUFkYW0yQA==
Feb 24 12:38:01 RT-AC88U-EB98 inadyn[19512]: Get address for default@freedns.afraid.org
Feb 24 12:38:01 RT-AC88U-EB98 inadyn[19512]: Checking for IP# change, connecting to freedns.afraid.org([69.42.215.252]:443)
Feb 24 12:38:01 RT-AC88U-EB98 inadyn[19512]: Checking for IP# change, initiating HTTPS ...
Feb 24 12:38:04 RT-AC88U-EB98 inadyn[19512]: SSL connection using ECDHE-RSA-AES128-GCM-SHA256
Feb 24 12:38:04 RT-AC88U-EB98 inadyn[19512]: Certificate OK
Feb 24 12:38:04 RT-AC88U-EB98 inadyn[19512]: SSL server cert subject: /CN=freedns.afraid.org
Feb 24 12:38:04 RT-AC88U-EB98 inadyn[19512]: SSL server cert issuer: /C=GB/ST=Greater Manchester/L=Salford/O=Sectigo Limited/CN=Sectigo RSA Domain Validation Secure Server CA
Feb 24 12:38:04 RT-AC88U-EB98 inadyn[19512]: Querying DDNS checkip server for my public IP#: GET /dynamic/check.php HTTP/1.0
Host: freedns.afraid.org
User-Agent: inadyn/2.8.1 https://github.com/troglobit/inadyn/issues

Feb 24 12:38:04 RT-AC88U-EB98 inadyn[19512]: Successfully sent HTTPS request!
Feb 24 12:38:04 RT-AC88U-EB98 inadyn[19512]: Successfully received HTTPS response (399/8191 bytes)!
Feb 24 12:38:04 RT-AC88U-EB98 inadyn[19512]: Server response: HTTP/1.1 200 OK
Server: nginx
Date: Wed, 24 Feb 2021 12:38:03 GMT
Content-Type: text/plain;charset=UTF-8
Connection: close
Vary: Accept-Encoding
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT

Detected IP : xx.xx.xx.xx
HTTP_CLIENT_IP :
HTTP_X_FORWARDED_FOR :
REMOTE_ADDR : xx.xx.xx.xx
Feb 24 12:38:04 RT-AC88U-EB98 inadyn[19512]: Checked my IP, return code 0: OK
Feb 24 12:38:04 RT-AC88U-EB98 inadyn[19512]: IP server response:
Feb 24 12:38:04 RT-AC88U-EB98 inadyn[19512]: HTTP/1.1 200 OK
Server: nginx
Date: Wed, 24 Feb 2021 12:38:03 GMT
Content-Type: text/plain;charset=UTF-8
Connection: close
Vary: Accept-Encoding
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT

Detected IP : xx.xx.xx.xx
HTTP_CLIENT_IP :
HTTP_X_FORWARDED_FOR :
REMOTE_ADDR : xx.xx.xx.xx
Feb 24 12:38:04 RT-AC88U-EB98 inadyn[19512]: Checking IPv4 address xx.xx.xx.xx...
Feb 24 12:38:04 RT-AC88U-EB98 inadyn[19512]: IPv4 address xx.xx.xx.xx is valid.
Feb 24 12:38:04 RT-AC88U-EB98 inadyn[19512]: No IP# change detected for default@freedns.afraid.org, still atxx.xx.xx.xx
Feb 24 12:38:04 RT-AC88U-EB98 inadyn[19512]: Update forced for alias xx.xx.xx.xx, new IP# xx.xx.xx.xx
Feb 24 12:38:04 RT-AC88U-EB98 inadyn[19512]: Fetching account API key, connecting to freedns.afraid.org([69.42.215.252]:443)
Feb 24 12:38:04 RT-AC88U-EB98 inadyn[19512]: Fetching account API key, initiating HTTPS ...
Feb 24 12:38:05 RT-AC88U-EB98 inadyn[19512]: SSL connection using ECDHE-RSA-AES128-GCM-SHA256
Feb 24 12:38:05 RT-AC88U-EB98 inadyn[19512]: Certificate OK
Feb 24 12:38:05 RT-AC88U-EB98 inadyn[19512]: SSL server cert subject: /CN=freedns.afraid.org
Feb 24 12:38:05 RT-AC88U-EB98 inadyn[19512]: SSL server cert issuer: /C=GB/ST=Greater Manchester/L=Salford/O=Sectigo Limited/CN=Sectigo RSA Domain Validation Secure Server CA
Feb 24 12:38:05 RT-AC88U-EB98 inadyn[19512]: Successfully sent HTTPS request!
Feb 24 12:38:05 RT-AC88U-EB98 inadyn[19512]: Successfully received HTTPS response (199/8191 bytes)!
Feb 24 12:38:05 RT-AC88U-EB98 inadyn[19512]: => ERROR: Could not authenticate.
Feb 24 12:38:05 RT-AC88U-EB98 inadyn[19512]: Cannot find your DNS name in the list of API keys
 
What WAN IP retrieval method is used on the ddns page? Internal or external? Is the router WAN IP the same as the external IP the DDNS sees? Any double NAT?
 
External, yup, not that I know
 
tried Internal with no change

DDNS1.jpg
 
Feb 24 12:38:05 RT-AC88U-EB98 inadyn[19512]: => ERROR: Could not authenticate.
Feb 24 12:38:05 RT-AC88U-EB98 inadyn[19512]: Cannot find your DNS name in the list of API keys

This looks like a configuration issue to me.
 
I might just disable ddns as I have other dns names I can use that point to my static IP.
 

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