Dynamic DNS does not work

Hi, great, after the last reboot the D-DNS worked fine!
Thanks

Hi. I am having a similar error "The DNS record for this DDNS domain could not be found in the DNS server. Please check the Internet connection of the device.". I have restarted the GL.iNET1200 router and the error is still persistent.

Please disable and reenable GL DDNS.

Check your DDNS address by using https://dnschecker.org/

Dears,
I have followed the process. However, error persists.

Please review your log file if there are some messages about ddns and post them here. :slight_smile:

Kindly see the DNS log in the attached image.

Log below
Wed Mar 19 05:03:58 2025 user.info mwan3rtmon[2563]: Detect rtchange event.
Wed Mar 19 05:03:59 2025 user.notice firewall: Reloading firewall due to ifup of ovpnclient (ovpnclient)
Wed Mar 19 05:04:00 2025 user.notice relay: Reloading relay due to ifup of ovpnclient (ovpnclient)
Wed Mar 19 05:09:57 2025 authpriv.notice sudo: root : TTY=unknown ; PWD=/www/cgi-bin ; USER=root ; GROUP=nonevpn ; COMMAND=/usr/lib/gl_ddns/dynamic_dns_updater.sh -- stop
Wed Mar 19 05:10:01 2025 authpriv.notice sudo: root : TTY=unknown ; PWD=/www/cgi-bin ; USER=root ; GROUP=nonevpn ; COMMAND=/usr/lib/gl_ddns/dynamic_dns_updater.sh -- start
Wed Mar 19 05:10:02 2025 user.notice ddns-scripts[26794]: ddns: PID '26794' started at 2025-03-19 05:10
Wed Mar 19 05:10:02 2025 user.warn ddns-scripts[26794]: ddns: Service section disabled! - TERMINATE
Wed Mar 19 05:10:02 2025 user.warn ddns-scripts[26794]: ddns: PID '26794' exit WITH ERROR '1' at 2025-03-19 05:10
Wed Mar 19 05:10:02 2025 user.notice ddns-scripts[26798]: glddns: PID '26798' started at 2025-03-19 05:10
Wed Mar 19 05:10:03 2025 user.warn ddns-scripts[26798]: glddns: NO valid IP found
Wed Mar 19 05:10:08 2025 user.err ddns-scripts[26798]: glddns: cURL Error: '28'
Wed Mar 19 05:10:08 2025 user.warn ddns-scripts[26798]: glddns: Transfer failed - retry 1/0 in 60 seconds

Have you ever used SSH? You can use SSH to log in to the device backend, use Vim to edit the content of /usr/lib/gl_ddns/dynamic_dns_updater.sh, change get_registered_ip REGISTERED_IP to get_registered_ip REGISTERED_IP "NO_RETRY", and then close and turn on DDNS again

1 Like

Dear Lincoln,
I've not used SSH before.
However, I have moboxterm which I have been using for other purporses ftth and rdp.

I've tried SSH under moboxterm. However, it's asking for a password. What's the default ssh password?

Dear Lincoln,
I have managed to use user:root and router admin password to login into SSH.
In reference to the screenshot I've shared, what should I type next in the command line?

sed -i '413 s/get_registered_ip REGISTERED_IP/get_registered_ip REGISTERED_IP "NO_RETRY"/'    /usr/lib/gl_ddns/dynamic_dns_updater.sh