ddclient error: "no response from dynamic.zoneedit.com"

DarrenS

New Member
Since the early hours of this morning I've been getting this error in ddclient:

"FAILED: updating www.sharefamily.co.uk: no response from dynamic.zoneedit.com"

This configuration has been working OK for months/years and nothing has changed at my end. Here is my ddclient config:

daemon=300 # check every 300 seconds
syslog=yes # log update msgs to syslog
mail-failure=root # mail failed update msgs to root
pid=/var/run/ddclient.pid # record PID in file.
ssl=yes
verbose=yes


protocol=zoneedit1
use=if, if=eth0
server=dynamic.zoneedit.com
login=******
password='**********'
sharefamily.co.uk,www.sharefamily.co.uk

I've tried resetting my authorisation token, but that hasn't helped. What is the problem?

Thanks.
 

DarrenS

New Member
Hi. If I try server=http://api.cp.zoneedit.com/dyn/tomato.php I get this error:

WARNING: cannot connect to http:443 socket: Name or service not known IO::Socket::IP configuration failed
FAILED: updating sharefamily.co.uk,www.sharefamily.co.uk: Could not connect to http://api.cp.zoneedit.com/dyn/tomato.php.


If I try server=api.cp.zoneedit.com/dyn/tomato.php (no http://) I get:

WARNING: cannot connect to api.cp.zoneedit.com:443 socket: hostname verification failed hostname verification failed
FAILED: updating sharefamily.co.uk,www.sharefamily.co.uk: Could not connect to api.cp.zoneedit.com/dyn/tomato.php.
 

DarrenS

New Member
Just giving this a bump. I also tried to remove the force ssl setting in ddclient.conf and get the error:

FAILED: updating sharefamily.co.uk: 709: Invalid hostname:
FAILED: updating www.sharefamily.co.uk: no response from api.cp.zoneedit.com/dyn/tomato.php
 

DarrenS

New Member
Bumping this again. Is anyone there? Nothing has changed at my end so something must be wrong at the zoneedit end.
 

sandy

Administrator
Staff member
hi there

we are receiving updates:

dyn.log.1.gz:Jan 24 09:56:56 zoneedit:/var/www/dynamic.zoneedit.com/api/www/dyn/auth/dynamic.html[2194] [info] <-@151.225.82.156> Looking up base domain for sharefamily.co.ukdyn.log.1.gz:Jan 24 09:56:56 zoneedit:/var/www/dynamic.zoneedit.com/api/www/dyn/auth/dynamic.html[2194] [info] <-@151.225.82.156> Processing request for rsp: zoneedit, hostname: sharefamily.co.uk -> host/domain: @/sharefamily.co.uk, IP: 151.225.82.156dyn.log.1.gz:Jan 24 09:56:56 zoneedit:/var/www/dynamic.zoneedit.com/api/www/dyn/auth/dynamic.html[2194] [info] <-@151.225.82.156> sharefamily.co.uk already set to 151.225.82.156dyn.log.1.gz:Jan 25 01:25:52 zoneedit:/var/www/dynamic.zoneedit.com/api/www/dyn/auth/dynamic.html[14934] [info] <-@151.225.82.156> Dynamic request: [client] => zoneedit_legacy; [rsp_ident] => zoneedit; [username] => dshare; [password] => ****; [hostname] => sharefamily.co.uk,www.sharefamily.co.uk; [ip] => 151.225.82.156; [wildcard] => ; [token] => ****;dyn.log.1.gz:Jan 25 01:25:52 zoneedit:/var/www/dynamic.zoneedit.com/api/www/dyn/auth/dynamic.html[14934] [info] <-@151.225.82.156> Looking up base domain for sharefamily.co.ukdyn.log.1.gz:Jan 25 01:25:52 zoneedit:/var/www/dynamic.zoneedit.com/api/www/dyn/auth/dynamic.html[14934] [info] <-@151.225.82.156> Processing request for rsp: zoneedit, hostname: sharefamily.co.uk -> host/domain: @/sharefamily.co.uk, IP: 151.225.82.156dyn.log.1.gz:Jan 25 01:25:52 zoneedit:/var/www/dynamic.zoneedit.com/api/www/dyn/auth/dynamic.html[14934] [info] <-@151.225.82.156> sharefamily.co.uk already set to 151.225.82.156dyn.log.1.gz:Jan 25 01:30:54 zoneedit:/var/www/dynamic.zoneedit.com/api/www/dyn/auth/dynamic.html[15962] [info] <-@151.225.82.156> Dynamic request: [client] => zoneedit_legacy; [rsp_ident] => zoneedit; [username] => dshare; [password] => ****; [hostname] => sharefamily.co.uk,www.sharefamily.co.uk; [ip] => 151.225.82.156; [wildcard] => ; [token] => ****;dyn.log.1.gz:Jan 25 01:30:54 zoneedit:/var/www/dynamic.zoneedit.com/api/www/dyn/auth/dynamic.html[15962] [info] <-@151.225.82.156> Update frequency too high for sharefamily.co.uk. Increase time between updates to 600 seconds or more. (Delta 302)

is the client sending or trying to send a TTL update as well?

sandy
 

DarrenS

New Member
hi there

we are receiving updates:

dyn.log.1.gz:Jan 24 09:56:56 zoneedit:/var/www/dynamic.zoneedit.com/api/www/dyn/auth/dynamic.html[2194] [info] <-@151.225.82.156> Looking up base domain for sharefamily.co.ukdyn.log.1.gz:Jan 24 09:56:56 zoneedit:/var/www/dynamic.zoneedit.com/api/www/dyn/auth/dynamic.html[2194] [info] <-@151.225.82.156> Processing request for rsp: zoneedit, hostname: sharefamily.co.uk -> host/domain: @/sharefamily.co.uk, IP: 151.225.82.156dyn.log.1.gz:Jan 24 09:56:56 zoneedit:/var/www/dynamic.zoneedit.com/api/www/dyn/auth/dynamic.html[2194] [info] <-@151.225.82.156> sharefamily.co.uk already set to 151.225.82.156dyn.log.1.gz:Jan 25 01:25:52 zoneedit:/var/www/dynamic.zoneedit.com/api/www/dyn/auth/dynamic.html[14934] [info] <-@151.225.82.156> Dynamic request: [client] => zoneedit_legacy; [rsp_ident] => zoneedit; [username] => dshare; [password] => ****; [hostname] => sharefamily.co.uk,www.sharefamily.co.uk; [ip] => 151.225.82.156; [wildcard] => ; [token] => ****;dyn.log.1.gz:Jan 25 01:25:52 zoneedit:/var/www/dynamic.zoneedit.com/api/www/dyn/auth/dynamic.html[14934] [info] <-@151.225.82.156> Looking up base domain for sharefamily.co.ukdyn.log.1.gz:Jan 25 01:25:52 zoneedit:/var/www/dynamic.zoneedit.com/api/www/dyn/auth/dynamic.html[14934] [info] <-@151.225.82.156> Processing request for rsp: zoneedit, hostname: sharefamily.co.uk -> host/domain: @/sharefamily.co.uk, IP: 151.225.82.156dyn.log.1.gz:Jan 25 01:25:52 zoneedit:/var/www/dynamic.zoneedit.com/api/www/dyn/auth/dynamic.html[14934] [info] <-@151.225.82.156> sharefamily.co.uk already set to 151.225.82.156dyn.log.1.gz:Jan 25 01:30:54 zoneedit:/var/www/dynamic.zoneedit.com/api/www/dyn/auth/dynamic.html[15962] [info] <-@151.225.82.156> Dynamic request: [client] => zoneedit_legacy; [rsp_ident] => zoneedit; [username] => dshare; [password] => ****; [hostname] => sharefamily.co.uk,www.sharefamily.co.uk; [ip] => 151.225.82.156; [wildcard] => ; [token] => ****;dyn.log.1.gz:Jan 25 01:30:54 zoneedit:/var/www/dynamic.zoneedit.com/api/www/dyn/auth/dynamic.html[15962] [info] <-@151.225.82.156> Update frequency too high for sharefamily.co.uk. Increase time between updates to 600 seconds or more. (Delta 302)

is the client sending or trying to send a TTL update as well?

sandy
Hi Sandy,
Thanks for the reply. I've not changed any settings related to TTL. Are you referring to the last line? That is because I am running ddclient in the foreground with the -force option while I debug this issue and if I run it more frequently than every 10 minutes I get this error. So I think it's unrelated to the original issue which is the "no response" errors. The weird thing is you are getting updates, as you say. So for some reason there's some kind of response that ddclient is expecting but isn't receiving which is causing this error. As I've said, I haven't changed anything and this configuration has been stable for months or years so I can only assume there's been a change in the way your servers respond.
 

DarrenS

New Member
Total output of ddclient -foregound -verbose -force:

root@serverb3:~# ddclient -foreground -verbose -force
WARNING: file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''
WARNING: file /var/cache/ddclient/ddclient.cache, line 5: Invalid Value for keyword 'ip' = ''
INFO: forcing update of Home.
INFO: setting IP address to 151.225.82.156 for Home
UPDATE: updating Home
CONNECT: updates.opendns.com
CONNECTED: using SSL
SENDING: GET /nic/update?system=dyndns&hostname=Home&myip=151.225.82.156 HTTP/1.0
SENDING: Host: updates.opendns.com
SENDING: Authorization: Basic **************************=
SENDING: User-Agent: ddclient/3.8.3
SENDING: Connection: close
SENDING:
RECEIVE: HTTP/1.1 200 OK
RECEIVE: Server: nginx
RECEIVE: Date: Thu, 25 Jan 2018 15:00:38 GMT
RECEIVE: Content-Type: text/html; charset=UTF-8
RECEIVE: Content-Length: 19
RECEIVE: Connection: close
RECEIVE: Accept-Ranges: bytes
RECEIVE: X-Varnish: 2110255753
RECEIVE: Age: 0
RECEIVE: Via: 1.1 varnish
RECEIVE: X-XSS-Protection: 1; mode=block
RECEIVE:
RECEIVE: good 151.225.82.156
SUCCESS: updating Home: good: IP address set to 151.225.82.156
INFO: forcing update of sharefamily.co.uk.
INFO: forcing update of www.sharefamily.co.uk.
Use of uninitialized value in concatenation (.) or string at /usr/sbin/ddclient line 2206.
Use of uninitialized value in concatenation (.) or string at /usr/sbin/ddclient line 2206.
INFO: setting IP address to 151.225.82.156 for sharefamily.co.uk,www.sharefamily.co.uk
UPDATE: updating sharefamily.co.uk,www.sharefamily.co.uk
CONNECT: dynamic.zoneedit.com
CONNECTED: using SSL
SENDING: GET /auth/dynamic.html?host=sharefamily.co.uk,www.sharefamily.co.uk&dnsto=151.225.82.156 HTTP/1.0
SENDING: Host: dynamic.zoneedit.com
SENDING: Authorization: Basic **************************=
SENDING: User-Agent: ddclient/3.8.3
SENDING: Connection: close
SENDING:
RECEIVE: HTTP/1.1 200 OK
RECEIVE: Date: Thu, 25 Jan 2018 15:00:41 GMT
RECEIVE: Server: Apache/2.2.22 (Debian)
RECEIVE: X-Powered-By: PHP/5.4.45-0+deb7u5
RECEIVE: Set-Cookie: easydns_language=en_US; expires=Fri, 25-Jan-2019 15:00:41 GMT; path=/
RECEIVE: Set-Cookie: PHPSESSID=****************; path=/
RECEIVE: Expires: Thu, 19 Nov 1981 08:52:00 GMT
RECEIVE: Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
RECEIVE: Pragma: no-cache
RECEIVE: Vary: Accept-Encoding
RECEIVE: Content-Length: 96
RECEIVE: Connection: close
RECEIVE: Content-Type: text/html
RECEIVE:
RECEIVE: <SUCCESS CODE="201" TEXT="no update required for sharefamily.co.uk to 151.225.82.156"
RECEIVE: ZONE="">
FAILED: updating sharefamily.co.uk,www.sharefamily.co.uk: no response from dynamic.zoneedit.com


Note, I am also setting the IP address for OpenDNS (the first half of the output) and that continues to work OK. I've starred out a couple of sensitive looking strings too.
 

philn

New Member
The new IP is correctly taken into account because I see it in my Dynamic DNS control panel but the record doesn't seem to be updated correctly.
 

Chris Cherry

Zoneedit Support
We'll have to look into this further when our Tier2 is online during the week.

philn & bugpit: Can you provide the domain name you're updating the DDNS on so we can check logs as well. (If you have any logs you can provide from your end that would greatly help as well).
 

philn

New Member
Not sure how but now the record seems correct although there's still an error reported at the end.
Code:
ddclient -foreground -verbose -force
WARNING:  file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
CONNECT:  my.ip.fi
CONNECTED:  using HTTP
SENDING:  GET / HTTP/1.0
SENDING:   Host: my.ip.fi
SENDING:   User-Agent: ddclient/3.8.3
SENDING:   Connection: close
SENDING:   
RECEIVE:  HTTP/1.1 200 OK
RECEIVE:  Server: nginx/1.9.10
RECEIVE:  Date: Sat, 27 Jan 2018 19:02:37 GMT
RECEIVE:  Content-Type: text/html;charset=utf-8
RECEIVE:  Content-Length: 12
RECEIVE:  Connection: close
RECEIVE:  X-XSS-Protection: 1; mode=block
RECEIVE:  X-Content-Type-Options: nosniff
RECEIVE:  X-Frame-Options: SAMEORIGIN
RECEIVE: 
RECEIVE:  81.32.97.60
INFO:     forcing update of rpi.base-art.net.
Use of uninitialized value in concatenation (.) or string at /usr/sbin/ddclient line 2206.
INFO:     setting IP address to 81.32.97.60 for rpi.base-art.net
UPDATE:   updating rpi.base-art.net
CONNECT:  dynamic.zoneedit.com
CONNECTED:  using HTTP
SENDING:  GET /auth/dynamic.html?host=rpi.base-art.net&dnsto=81.32.97.60 HTTP/1.0
SENDING:   Host: dynamic.zoneedit.com
SENDING:   Authorization: Basic ************
SENDING:   User-Agent: ddclient/3.8.3
SENDING:   Connection: close
SENDING:   
RECEIVE:  HTTP/1.1 200 OK
RECEIVE:  Date: Sat, 27 Jan 2018 19:02:38 GMT
RECEIVE:  Server: Apache/2.2.22 (Debian)
RECEIVE:  X-Powered-By: PHP/5.4.45-0+deb7u5
RECEIVE:  Set-Cookie: easydns_language=en_US; expires=Sun, 27-Jan-2019 19:02:38 GMT; path=/
RECEIVE:  Set-Cookie: PHPSESSID=**********; path=/
RECEIVE:  Expires: Thu, 19 Nov 1981 08:52:00 GMT
RECEIVE:  Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
RECEIVE:  Pragma: no-cache
RECEIVE:  Vary: Accept-Encoding
RECEIVE:  Content-Length: 92
RECEIVE:  Connection: close
RECEIVE:  Content-Type: text/html
RECEIVE: 
RECEIVE:  <SUCCESS CODE="201" TEXT="no update required for rpi.base-art.net to 81.32.97.60"
RECEIVE:  ZONE="">
FAILED:   updating rpi.base-art.net: no response from dynamic.zoneedit.com
 

oGre

New Member
My ddclient started this on saturday 27 january, spewing out no response from dynamic.zoneedit.com.

Have been running this 24/7 for like 7 years with this config. Looks like success, and then it falsely sends some kind of error code. See log:

Code:
UPDATE:   updating cybermoose.org,duprez.org,mail.cybermoose.org
CONNECT:  dynamic.zoneedit.com
CONNECTED:  using SSL
SENDING:  GET /auth/dynamic.html?host=cybermoose.org,duprez.org,mail.cybermoose.org&dnsto=xxx HTTP/1.0
SENDING:   Host: dynamic.zoneedit.com
SENDING:   Authorization: Basic xxx
SENDING:   User-Agent: ddclient/3.8.1
SENDING:   Connection: close
SENDING:   
RECEIVE:  HTTP/1.1 200 OK
RECEIVE:  Date: Mon, 29 Jan 2018 09:28:44 GMT
RECEIVE:  Server: Apache/2.2.22 (Debian)
RECEIVE:  X-Powered-By: PHP/5.4.45-0+deb7u5
RECEIVE:  Set-Cookie: easydns_language=en_US; expires=Tue, 29-Jan-2019 09:28:44 GMT; path=/
RECEIVE:  Set-Cookie: PHPSESSID=xxx; path=/
RECEIVE:  Expires: Thu, 19 Nov 1981 08:52:00 GMT
RECEIVE:  Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
RECEIVE:  Pragma: no-cache
RECEIVE:  Vary: Accept-Encoding
RECEIVE:  Content-Length: 94
RECEIVE:  Connection: close
RECEIVE:  Content-Type: text/html
RECEIVE:  
RECEIVE:  <SUCCESS CODE="201" TEXT="no update required for cybermoose.org to xxx" 
RECEIVE:  ZONE="">
FAILED:   updating cybermoose.org,duprez.org,mail.cybermoose.org: no response from dynamic.zoneedit.com
 
Last edited:

oGre

New Member
Any reactions to this at all? I have turned off Zoneedit in my ddclient conf and every time I try to turn it on I receive the same failure.
 

Goucham

New Member
I'm so glad I found this thread. I have ddclient (v3.8.3) running on two routers (Edgerouter Lite & Edgrouter X.) While the dynamic records continue to get updated, as they have for years, my logs are now showing "no response from dynamic.zoneedit.com" entries after an update is attempted. I started noticing this in the logs a couple of weeks ago.

Currently I'm updating via the legacy username/password method. Any guidance that could be offered would be appreciated.
 

bugpit

New Member
Since there is obviously no support to be expected here, I was looking for an alternative. For a few days now I have been successfully using inadyn. The configuration is a bit strange, but no really a problem. I recommend testing it.
 

Chris Cherry

Zoneedit Support
Hey all,

We are actively looking into the DYN issue you've all been reporting. As some of you already noted, the updates are successful and we are responding with "SUCCESS CODE="201"". However, the clients don't seem to be noticing that. We're checking to see if this is a client issue or something we changed on our end recently which is causing that.

Your patience is appreciated and thank you to all those for the logs you've provided.
 

soop3rn0t

New Member
ddclient doesn't match the line and so also doesn't pick up the $status -eq 'SUCCESS' because the last part of the response is split onto the next line:
Code:
RECEIVE:  <SUCCESS CODE="201" TEXT="no update required for cybermoose.org to xxx"
RECEIVE:  ZONE="">

The regex needs it to be all on one line
Code:
        foreach my $line (@reply) {
            if ($line =~ /^[^<]*<(SUCCESS|ERROR)\s+([^>]+)>(.*)/)  {
                my ($status, $assignments, $rest) = ($1, $2, $3);
                my ($left, %var) = parse_assignments($assignments);
 
Top