What's new

Not clear why custom ddns not working (duck dns)...

  • 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!

andy_d

Regular Contributor
I followed the steps here...

https://www.htpcguides.com/use-afraid-custom-dynamic-dns-asus-routers/

Script exists in..

/jffs/scripts/ddns-start

The script I used...

https://github.com/RMerl/asuswrt-merlin/wiki/DDNS-Sample-Scripts#duck-dns

Where I used my domain label in "subdomain" and added the token as well.

In logs I see...

ec 23 14:52:47 watchdog: start ddns.
Dec 23 14:52:47 rc_service: watchdog 252:notify_rc start_ddns
Dec 23 14:52:47 start_ddns: update CUSTOM , wan_unit 0
Dec 23 14:52:47 custom_script: Running /jffs/scripts/ddns-start (args: ) - max timeout = 120s
Dec 23 14:52:57 Mastiff: Got AAE_SIG_REMOTE_CONNECTION_TURNED_ON
Dec 23 14:52:57 Mastiff: select error
Dec 23 14:52:57 rc_service: httpd 248:notify_rc restart_ddns


Which besides the select error I don't really see what the problem is.

Any idea what I might be the issue?
 
Last edited:
I followed the steps here...

https://www.htpcguides.com/use-afraid-custom-dynamic-dns-asus-routers/

Script exists in..

/jffs/scripts/ddns-start

The script I used...

https://github.com/RMerl/asuswrt-merlin/wiki/DDNS-Sample-Scripts#duck-dns

Where I used my domain label in "subdomain" and added the token as well.

In logs I see...

ec 23 14:52:47 watchdog: start ddns.
Dec 23 14:52:47 rc_service: watchdog 252:notify_rc start_ddns
Dec 23 14:52:47 start_ddns: update CUSTOM , wan_unit 0
Dec 23 14:52:47 custom_script: Running /jffs/scripts/ddns-start (args: 71.xxx.yyy.zzz ) - max timeout = 120s
Dec 23 14:52:57 Mastiff: Got AAE_SIG_REMOTE_CONNECTION_TURNED_ON
Dec 23 14:52:57 Mastiff: select error
Dec 23 14:52:57 rc_service: httpd 248:notify_rc restart_ddns


Which besides the select error I don't really see what the problem is.

Any idea what I might be the issue?

Mastiff has nothing to do with DDNS, it's related to the IFTTT daemon.

You will have to manually run your ddns-start script to see if it spits out any error.

Code:
/jffs/scripts/ddns-start 71.xxx.yyy.zzz
 
Last edited:
There's a nice ddns-start script for duckdns here: https://gist.github.com/kevinxw/f7a5d5402887ca1b5b2c399c60e0921f
which seems to work okay for me, it allows you to specify your sub-domain and token through the gui.
Code:
# put 'hostname|token' in the 'Host Name' field under DDNS
# e.g. myhost|abcdefgh-1234-5678-9876-f71b0ed7a7fe
Clicking Apply in the GUI forces the script to run and I can see this in the logs:
Code:
Dec 24 23:49:11 custom_script: Running /jffs/scripts/ddns-start (args: [redacted] ) - max timeout = 120s
Dec 24 23:49:11 [redacted]: DDNS Request URL: https://www.duckdns.org/update?domains=[redacted]&token=[redacted]&ip=[redacted]&ipv6=
Dec 24 23:49:12 [redacted]: DDNS Request result: OK
Dec 24 23:49:12 ddns: Completed custom ddns update
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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