Mailing List Archive

ddclient 3.10 spamming?
Hello,

after a recent update I have ddclient continuously spamming me with
warning messages, has anybody seen the same?

[I] net-dns/ddclient
     Available versions:  3.9.1-r2 (~)3.10.0_rc2^t {examples iproute2
selinux}
     Installed versions:  3.10.0_rc2^t(10:15:22 AM
10/08/2022)(-examples -selinux)

The relevant part of /etc/ddclient.conf:

use=web, web=myip.dnsomatic.com   \
server=updates.dnsomatic.com,     \
protocol=dyndns2,                 \
login=<my_login>,  \
password=<my_passwd>           \
<my_netname>

The email warnings:

FAILED: updating <my_netname>: unexpected status (12)
SUCCESS: updating : good: IP address set to xxx.xxx.xxx.xxx
FAILED: updating : unexpected status (0)
FAILED: was not updated because protocol <undefined> is not supported.

It looks like the IP address is correctly set, but maybe not. Some logging:

# ddclient -daemon=0 -debug -verbose -noquiet

DEBUG:    proxy    = <undefined>
DEBUG:    protocol = https
DEBUG:    server   = myip.dnsomatic.com
DEBUG:    url      =
DEBUG:    ip ver   =
CONNECT:  myip.dnsomatic.com
CONNECTED:  using SSL
SENDING:  GET / HTTP/1.1
SENDING:  Host: myip.dnsomatic.com
SENDING:  User-Agent: ddclient/3.10.0_2
SENDING:  Connection: close
SENDING:
RECEIVE:  HTTP/1.1 429 Too Many Requests
RECEIVE:  Server: nginx
RECEIVE:  Date: Sun, 09 Oct 2022 09:37:52 GMT
RECEIVE:  Content-Type: text/html
RECEIVE:  Content-Length: 162
RECEIVE:  Connection: close
RECEIVE:  Strict-Transport-Security: max-age=15768000; includeSubDomains
RECEIVE:
RECEIVE:  <html>
RECEIVE:  <head><title>429 Too Many Requests</title></head>
RECEIVE:  <body>
RECEIVE:  <center><h1>429 Too Many Requests</h1></center>
RECEIVE:  <hr><center>nginx</center>
RECEIVE:  </body>
RECEIVE:  </html>
DEBUG:    get_ip: using web, myip.dnsomatic.com reports <undefined>
WARNING:  <my_netname>: unable to determine IP address with strategy use=web
DEBUG:
DEBUG:    nic_dyndns2_update -------------------
Use of uninitialized value $_[0] in sprintf at /usr/bin/ddclient line 2136.
INFO:     setting IP address to  for <my_netname>
UPDATE:   updating <my_netname>
DEBUG:    proxy    = <undefined>
DEBUG:    protocol = https
DEBUG:    server   = updates.dnsomatic.com
DEBUG:    url      = nic/update?<redacted>
DEBUG:    ip ver   =
CONNECT:  updates.dnsomatic.com
CONNECTED:  using SSL
SENDING:  GET /nic/update?system=dyndns&hostname=<my_netname>&myip= HTTP/1.1
SENDING:  Host: updates.dnsomatic.com
SENDING:  Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
SENDING:  User-Agent: ddclient/3.10.0_2
SENDING:  Connection: close
SENDING:
RECEIVE:  HTTP/1.1 200 OK
RECEIVE:  date: Sun, 09 Oct 2022 09:37:52 GMT
RECEIVE:  server: opendns
RECEIVE:  vary: Accept-Encoding
RECEIVE:  content-type: text/html; charset=UTF-8
RECEIVE:  x-envoy-upstream-service-time: 204
RECEIVE:  x-xss-protection: 1; mode=block
RECEIVE:  x-ingress-point: mil1
RECEIVE:  strict-transport-security: max-age=31536000; includeSubDomains
RECEIVE:  connection: close
RECEIVE:  transfer-encoding: chunked
RECEIVE:
RECEIVE:  12
RECEIVE:  good xxx.xxx.xxx.xxx
RECEIVE:  0
RECEIVE:
FAILED:   updating <my_netname>: unexpected status (12)
Use of uninitialized value $h in hash element at /usr/bin/ddclient line
4077.
Use of uninitialized value $h in hash element at /usr/bin/ddclient line
4079.
Use of uninitialized value $h in hash element at /usr/bin/ddclient line
4080.
Use of uninitialized value $_[0] in sprintf at /usr/bin/ddclient line 2136.
SUCCESS:  updating : good: IP address set to 151.48.99.132
Use of uninitialized value $h in hash element at /usr/bin/ddclient line
4077.
Use of uninitialized value $_[0] in sprintf at /usr/bin/ddclient line 2136.
FAILED:   updating : unexpected status (0)
Use of uninitialized value in string ne at /usr/bin/ddclient line 1130.
FAILED:    was not updated because protocol <undefined> is not supported.