[SOLVED] DDNS updater error with OpenDNS/DNS-O-Matic

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking
Author Message
siege
DD-WRT User


Joined: 23 Dec 2016
Posts: 90

PostPosted: Thu Jul 30, 2020 18:41    Post subject: [SOLVED] DDNS updater error with OpenDNS/DNS-O-Matic Reply with quote
Something is going on with the DDNS updater. I've had a stable setup for years using OpenDNS' DNS-O-Matic service, but in the last week or so something has changed and is now causing an error.

Other people are seeing this also: https://support.opendns.com/hc/en-us/community/posts/360071971352-DDNS-updater-getting-server-moved-error-

My setup is attached and the specific results I'm seeing now are as follows:
Code:
Thu Jul 30 13:21:24 2020: INADYN: Started 'INADYN Advanced version 1.96-ADV' - dynamic DNS updater.
Thu Jul 30 13:21:25 2020: I:INADYN: IP address for alias 'all.dnsomatic.com' needs update to '50.{redacted}'
Thu Jul 30 13:21:26 2020: W:INADYN: Response Code: 1
Thu Jul 30 13:21:26 2020: W:INADYN: Error validating DYNDNS svr answer. Check usr,pass,hostname! (HTTP/1.0 301 Moved Permanently
location: https://updates.dnsomatic.com/nic/update?hostname=all.dnsomatic.com
date: Thu, 30 Jul 2020 18:21:25 GMT
server: opendns
connection: close
content-length: 0

d>Current IP Address: 50.{redacted}
)

Is anyone else seeing this?


Last edited by siege on Mon Aug 24, 2020 22:43; edited 1 time in total
Sponsor
speed0flight
DD-WRT Novice


Joined: 05 Aug 2020
Posts: 1

PostPosted: Wed Aug 05, 2020 19:30    Post subject: Reply with quote
I'm having the exact same issue. Was working fine for several years until a couple of weeks ago.

Running: Firmware: DD-WRT v24-sp2 (07/24/13) giga

Wed Aug 5 19:25:08 2020: W:INADYN: Error validating DYNDNS svr answer. Check usr,pass,hostname! (HTTP/1.0 301 Moved Permanently
location: https://updates.dnsomatic.com/nic/update?hostname=all.dnsomatic.com
date: Wed, 05 Aug 2020 19:25:07 GMT
server: opendns
connection: close
content-length: 0
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6396
Location: Romerike, Norway

PostPosted: Sat Aug 15, 2020 8:19    Post subject: Reply with quote
Have you tried to change http: to https: in the URL?
siege
DD-WRT User


Joined: 23 Dec 2016
Posts: 90

PostPosted: Tue Aug 18, 2020 23:16    Post subject: Reply with quote
Per Yngve Berg wrote:
Have you tried to change http: to https: in the URL?

Yes, I've tried that, and I still get the same error.

It seems that In-a-Dyn might need to be updated (current version is 2.7, and DD-WRT is on 1.96) and https will need to be used.

As a workaround, I've added this command to my cron:
Code:
0 0 * * 0 /usr/bin/curl -k --silent -u "my_user_name:my_password" "https://updates.dnsomatic.com/nic/update?hostname=all.dnsomatic.com" >/dev/null 2>&1

I also added the command to my startup commands (minus the cron numerics).
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 9594
Location: Netherlands

PostPosted: Wed Aug 19, 2020 10:45    Post subject: Reply with quote
Asked more than once:

https://svn.dd-wrt.com/ticket/7156

Feel free to close and reopen and add your findings

_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
mac913
DD-WRT Guru


Joined: 02 May 2008
Posts: 1724
Location: Canada

PostPosted: Sat Aug 22, 2020 21:34    Post subject: Reply with quote
siege wrote:
Per Yngve Berg wrote:
Have you tried to change http: to https: in the URL?

Yes, I've tried that, and I still get the same error.

It seems that In-a-Dyn might need to be updated (current version is 2.7, and DD-WRT is on 1.96) and https will need to be used.

As a workaround, I've added this command to my cron:
Code:
0 0 * * 0 /usr/bin/curl -k --silent -u "my_user_name:my_password" "https://updates.dnsomatic.com/nic/update?hostname=all.dnsomatic.com" >/dev/null 2>&1

I also added the command to my startup commands (minus the cron numerics).


That's a good workaround, if used disable GUI DDNS. Just a note about my_user_name, if it is your email address eg. user@yahoo.com use user%40yahoo.com

_________________
Home Network on Telus PureFibre - 10GbE Copper Backbone
2x R7800 - Gateway & WiFi & 3xWireGuard - DDWRT r48786 Std
R7000 - Wired ISP 4K IPTV Gateway - DDWRT r48786 Std

Off Site 1

R7000 - Gateway & WiFi & WireGuard - DDWRT r48786 Std
E3000 - Client Bridge - DDWRT r44483 Mega K4.4

Off Site 2

R7000 - Gateway & WiFi - DDWRT r48786 Std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531


YAMon 3.4.6 | DNSCrypt-Proxy V2
siege
DD-WRT User


Joined: 23 Dec 2016
Posts: 90

PostPosted: Mon Aug 24, 2020 22:39    Post subject: Problem solved! Reply with quote
OpenDNS support got back to me today. They said this:
Quote:
Can you try updating your router/application to send updates to updates.dnsomatic.com using port 443 (https://updates.dnsomatic.com)? We no longer allow updates to this service using port 80.

Leaving everything else as-is, adding port 443 in the URL works like a champ. (https://updates.dnsomatic.com:443/nic/update?hostname=) No more need for cron or startup scripts.

I've attached a screen shot for posterity. Hope this helps in the future.
mac913
DD-WRT Guru


Joined: 02 May 2008
Posts: 1724
Location: Canada

PostPosted: Tue Aug 25, 2020 15:14    Post subject: Reply with quote
Great news that the old 1.96 GUI does work with https.

We need the Wiki to be updated...
https://wiki.dd-wrt.com/wiki/index.php/DNS-O-Matic

Thanks for Posting!

_________________
Home Network on Telus PureFibre - 10GbE Copper Backbone
2x R7800 - Gateway & WiFi & 3xWireGuard - DDWRT r48786 Std
R7000 - Wired ISP 4K IPTV Gateway - DDWRT r48786 Std

Off Site 1

R7000 - Gateway & WiFi & WireGuard - DDWRT r48786 Std
E3000 - Client Bridge - DDWRT r44483 Mega K4.4

Off Site 2

R7000 - Gateway & WiFi - DDWRT r48786 Std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531


YAMon 3.4.6 | DNSCrypt-Proxy V2
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 12427
Location: Texas, USA

PostPosted: Tue Aug 25, 2020 15:30    Post subject: Reply with quote
Wiki should be updated, unless someone mucks with my edit.
_________________
Official Forum Rules, Guidelines & Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware‽
DON'T use Chromium-based browsersRTFM/STFW TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is‽
Please DO NOT PM me with questions; Ask in the forum. ---------------------- Linux User #377467 counter.li.org / linuxcounter.net
lolcocks
DD-WRT User


Joined: 31 May 2013
Posts: 137

PostPosted: Sat Oct 03, 2020 11:18    Post subject: Re: Problem solved! Reply with quote
siege wrote:
OpenDNS support got back to me today. They said this:
Quote:
Can you try updating your router/application to send updates to updates.dnsomatic.com using port 443 (https://updates.dnsomatic.com)? We no longer allow updates to this service using port 80.

Leaving everything else as-is, adding port 443 in the URL works like a champ. (https://updates.dnsomatic.com:443/nic/update?hostname=) No more need for cron or startup scripts.

I've attached a screen shot for posterity. Hope this helps in the future.



Thank you so much! Works great!

Any idea why this issue has started occurring in the first place?
HalfBit
DD-WRT Guru


Joined: 04 Sep 2009
Posts: 768
Location: AR, USA

PostPosted: Sat Aug 07, 2021 19:42    Post subject: Re: Problem solved! Reply with quote
siege wrote:
OpenDNS support got back to me today. They said this:
Quote:
Can you try updating your router/application to send updates to updates.dnsomatic.com using port 443 (https://updates.dnsomatic.com)? We no longer allow updates to this service using port 80.

Leaving everything else as-is, adding port 443 in the URL works like a champ. (https://updates.dnsomatic.com:443/nic/update?hostname=) No more need for cron or startup scripts.

I've attached a screen shot for posterity. Hope this helps in the future.

Confirmed working for me as well! THANK YOU!

_________________
R7000 Nighthawk - DD-WRT v3.0-r47033
R7000 Nighthawk - DD-WRT v3.0-r47033 ~~~~~~~~~~Dismantled for learning opportunities~~~~~~~~~~
WRT54Gv2
WRT54Gv8.2
marbss
DD-WRT Novice


Joined: 13 Jul 2007
Posts: 10

PostPosted: Fri Oct 08, 2021 12:31    Post subject: Reply with quote
if you are having problems with dnsomatic you can also try http but specify port 443. This is what worked for me.

http://updates.dnsomatic.com:443/nic/update?hostname=

Quote:
glli80
September 25, 2021 11:22
coski_da,

you can try replacing https://updates.dnsomatic.com:443/nic/update?hostname= with

http://updates.dnsomatic.com:443/nic/update?hostname= ( change https to http):


source: https://support.opendns.com/hc/en-us/community/posts/360071971352-DDNS-updater-getting-server-moved-error-?page=3#comments
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 12427
Location: Texas, USA

PostPosted: Fri Oct 08, 2021 14:40    Post subject: Reply with quote
This was discussed elsewhere in the Marvell forum. Thanks for the update and input.

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=330218

_________________
Official Forum Rules, Guidelines & Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware‽
DON'T use Chromium-based browsersRTFM/STFW TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is‽
Please DO NOT PM me with questions; Ask in the forum. ---------------------- Linux User #377467 counter.li.org / linuxcounter.net
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum