BikeHelmet
Regular Contributor
Howdy,
I guess it's router maintenance month. DDNS seems to be broken on a few of my routers. Nothing critical was depending on it, but it'd be nice to get it up and running again. Originally I had issues using the username/password, so I had set up the /jffs/scripts/ddns-start script on all three RT-AX56U's. Currently they all say "Request error! Please try again." on the DDNS page.
System Log:
It currently looks like this, but I also tried wget using the suggestions on their Dynamic page:
I am using HTTP since HTTPS had issues in the past.
What popped into my head was "Oh, maybe entware updated and broke stuff" - but then I remembered that entware isn't on one of them.
I have one router that is Dual-WAN, with entware and a ton of addons, one that is single WAN with entware, and one that is a plain RT-AX56U with only amtm and scMerlin. They're all on the latest 388.2_2 firmware, but I confirmed that one was already broken on 386.7_2
All three routers can resolve the IP according to the ping command, but fail to ping. I get errors like this when running curl or wget:
If I click anything on the Dynamic page, it instantly goes through. I can also wget or curl no problem from an Ubuntu VirtualBox VM and it instantly registers - so I'm not IP blocked or anything like that.
I also just checked my RT-AX68U, and although the IP was not correct at afraid.org, just going to the DDNS page on my router and clicking Apply was enough to get that one to successfully update - using the exact same script.
I'm either missing something really obvious due to my mundane linux knowledge, or my routers are just having trouble connecting to freedns.afraid.org for some reason? Thinking of similarities, they are all on DNS over TLS strict mode, and have 8.8.4.4 and 1.0.0.1 as their assigned WAN DNS - but so is the RT-AX68U. I'm running out of things to check... anyone got any ideas that might point me in the right direction?
Cheers,
I guess it's router maintenance month. DDNS seems to be broken on a few of my routers. Nothing critical was depending on it, but it'd be nice to get it up and running again. Originally I had issues using the username/password, so I had set up the /jffs/scripts/ddns-start script on all three RT-AX56U's. Currently they all say "Request error! Please try again." on the DDNS page.
System Log:
Code:
Aug 3 01:26:17 ddns: Custom ddns update failed
It currently looks like this, but I also tried wget using the suggestions on their Dynamic page:
Code:
#!/bin/sh
curl -fs -o /dev/null "http://freedns.afraid.org/dynamic/update.php?xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
if [ $? -eq 0 ]; then
/sbin/ddns_custom_updated 1
else
/sbin/ddns_custom_updated 0
fi
Code:
#!/bin/sh
wget -q --read-timeout=0.0 --waitretry=5 --tries=400 --background http://freedns.afraid.org/dynamic/update.php?xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
if [ $? -eq 0 ]; then
/sbin/ddns_custom_updated 1
else
/sbin/ddns_custom_updated 0
fi
What popped into my head was "Oh, maybe entware updated and broke stuff" - but then I remembered that entware isn't on one of them.
I have one router that is Dual-WAN, with entware and a ton of addons, one that is single WAN with entware, and one that is a plain RT-AX56U with only amtm and scMerlin. They're all on the latest 388.2_2 firmware, but I confirmed that one was already broken on 386.7_2
All three routers can resolve the IP according to the ping command, but fail to ping. I get errors like this when running curl or wget:
Code:
curl: (28) Failed to connect to freedns.afraid.org port 443 after 15047 ms: Couldn't connect to server
curl: (28) Failed to connect to freedns.afraid.org port 80 after 15031 ms: Couldn't connect to server
Resolving freedns.afraid.org... 174.128.246.100
Connecting to freedns.afraid.org|174.128.246.100|:80... failed: Connection timed out.
I also just checked my RT-AX68U, and although the IP was not correct at afraid.org, just going to the DDNS page on my router and clicking Apply was enough to get that one to successfully update - using the exact same script.
I'm either missing something really obvious due to my mundane linux knowledge, or my routers are just having trouble connecting to freedns.afraid.org for some reason? Thinking of similarities, they are all on DNS over TLS strict mode, and have 8.8.4.4 and 1.0.0.1 as their assigned WAN DNS - but so is the RT-AX68U. I'm running out of things to check... anyone got any ideas that might point me in the right direction?
Cheers,