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

bugpit

New Member
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.

Thank you for your efforts.
 

Chris Cherry

Zoneedit Support
Thank you, soop3rn0t - I've passed this along to the devs.

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);
 

Chris Cherry

Zoneedit Support
A new version of the DYN Code has been released.

Please let us know if you're still seeing any issues and post them here.
 

Goucham

New Member
Confirming it works here as well. Error messages in the log have stopped and the ddclient status now shows the correct information.

Thanks.

P.S. Cool sleuthing soop3rn0t
 
Top