ddclient Updating Wrong I...
ddclient Updating Wrong IP
- Accueil
- Espace Client
- Community Forum
- Services
- Dynamic DNS Service
- ddclient Updating Wrong IP
- Community Forum
- ddclient Updating Wrong IP
Topic: ddclient Updating Wrong IP
Hello
I am attempting to use ddclient to update a hostname in my system. Here is my ddclient.conf
# ddclient configuration for Dynu
#
# /etc/ddclient.conf
#daemon=60 # Check every 60 seconds.
syslog=yes # Log update msgs to syslog.
mail=root # Mail all msgs to root.
mail-failure=root # Mail failed update msgs to root.
pid=/var/run/ddclient.pid # Record PID in file.
ssl=yes # Use ssl-support. Works with ssl-library .
debug=yes
verbose=yes
force=yes
use=cmd, cmd=/home/rdorman/nginx-ipv6.sh
server=api.dynu.com # IP update server.
protocol=dyndns2, login=rdorman, password=***** domain.net&alias=dav
Not that I am using a custom command to retrieve the IP and I dont want to user server side detection. The logs indicate the correct IP is being set but the IP updates to the server detcted source IP of the update (ending in e342), not the one in the URL POST (ending in 13de)
DEBUG: get_ip: using cmd, /home/rdorman/nginx-ipv6.sh reports 2600:4040:71a6:6a00:bceb:d5ff:fe8a:13de
INFO: forcing updating mh805.net&alias=dav because no cached entry exists.
DEBUG:
DEBUG: nic_dyndns2_update -------------------
INFO: setting IP address to 2600:4040:xxxx:xxxx:bceb:d5ff:fe8a:13de for domain.net&alias=dav
UPDATE: updating domain.net&alias=dav
DEBUG: proxy = <undefined>
DEBUG: protocol = https
DEBUG: server = api.dynu.com
DEBUG: url = nic/update?<redacted>
DEBUG: ip ver =
CONNECT: api.dynu.com
CONNECTED: using SSL
SENDING: GET /nic/update?system=dyndns&hostname=domain.net&alias=dav&myip=2600:4040:xxxx:xxxx:bceb:d5ff:fe8a:13de HTTP/1.1
SENDING: Host: api.dynu.com
SENDING: Authorization: Basic cmRvcm1hbjp1bmlzeXMyNjgwNQ==
SENDING: User-Agent: ddclient/3.10.0
SENDING: Connection: close
SENDING:
RECEIVE: HTTP/1.1 200 OK
RECEIVE: Date: Wed, 05 Aug 2026 13:48:48 GMT
RECEIVE: Server: Dynu Web Server
RECEIVE: X-Powered-By: Dynu Dynamic DNS Service
RECEIVE: Content-Length: 44
RECEIVE: Content-Type: text/html; charset=UTF-8
RECEIVE: Connection: close
RECEIVE:
RECEIVE: good 2600:4040:xxxx:xxxx:6e1f:f7ff:fe29:e342
SUCCESS: updating domain.net&alias=dav: good: IP address set to 2600:4040:xxxx:xxxx:bceb:d5ff:fe8a:13de
root@apex:/home/user# more /etc/ddclient.conf
I am attempting to use ddclient to update a hostname in my system. Here is my ddclient.conf
# ddclient configuration for Dynu
#
# /etc/ddclient.conf
#daemon=60 # Check every 60 seconds.
syslog=yes # Log update msgs to syslog.
mail=root # Mail all msgs to root.
mail-failure=root # Mail failed update msgs to root.
pid=/var/run/ddclient.pid # Record PID in file.
ssl=yes # Use ssl-support. Works with ssl-library .
debug=yes
verbose=yes
force=yes
use=cmd, cmd=/home/rdorman/nginx-ipv6.sh
server=api.dynu.com # IP update server.
protocol=dyndns2, login=rdorman, password=***** domain.net&alias=dav
Not that I am using a custom command to retrieve the IP and I dont want to user server side detection. The logs indicate the correct IP is being set but the IP updates to the server detcted source IP of the update (ending in e342), not the one in the URL POST (ending in 13de)
DEBUG: get_ip: using cmd, /home/rdorman/nginx-ipv6.sh reports 2600:4040:71a6:6a00:bceb:d5ff:fe8a:13de
INFO: forcing updating mh805.net&alias=dav because no cached entry exists.
DEBUG:
DEBUG: nic_dyndns2_update -------------------
INFO: setting IP address to 2600:4040:xxxx:xxxx:bceb:d5ff:fe8a:13de for domain.net&alias=dav
UPDATE: updating domain.net&alias=dav
DEBUG: proxy = <undefined>
DEBUG: protocol = https
DEBUG: server = api.dynu.com
DEBUG: url = nic/update?<redacted>
DEBUG: ip ver =
CONNECT: api.dynu.com
CONNECTED: using SSL
SENDING: GET /nic/update?system=dyndns&hostname=domain.net&alias=dav&myip=2600:4040:xxxx:xxxx:bceb:d5ff:fe8a:13de HTTP/1.1
SENDING: Host: api.dynu.com
SENDING: Authorization: Basic cmRvcm1hbjp1bmlzeXMyNjgwNQ==
SENDING: User-Agent: ddclient/3.10.0
SENDING: Connection: close
SENDING:
RECEIVE: HTTP/1.1 200 OK
RECEIVE: Date: Wed, 05 Aug 2026 13:48:48 GMT
RECEIVE: Server: Dynu Web Server
RECEIVE: X-Powered-By: Dynu Dynamic DNS Service
RECEIVE: Content-Length: 44
RECEIVE: Content-Type: text/html; charset=UTF-8
RECEIVE: Connection: close
RECEIVE:
RECEIVE: good 2600:4040:xxxx:xxxx:6e1f:f7ff:fe29:e342
SUCCESS: updating domain.net&alias=dav: good: IP address set to 2600:4040:xxxx:xxxx:bceb:d5ff:fe8a:13de
root@apex:/home/user# more /etc/ddclient.conf
Reply with quote |Report
| Author | Topic: ddclient Updating Wrong IP |
|---|---|
|
rdorman Joined: 18/11/2017 |
mercredi 5 août 2026 06:56
Hello
I am attempting to use ddclient to update a hostname in my system. Here is my ddclient.conf # ddclient configuration for Dynu # # /etc/ddclient.conf #daemon=60 # Check every 60 seconds. syslog=yes # Log update msgs to syslog. mail=root # Mail all msgs to root. mail-failure=root # Mail failed update msgs to root. pid=/var/run/ddclient.pid # Record PID in file. ssl=yes # Use ssl-support. Works with ssl-library . debug=yes verbose=yes force=yes use=cmd, cmd=/home/rdorman/nginx-ipv6.sh server=api.dynu.com # IP update server. protocol=dyndns2, login=rdorman, password=***** domain.net&alias=dav Not that I am using a custom command to retrieve the IP and I dont want to user server side detection. The logs indicate the correct IP is being set but the IP updates to the server detcted source IP of the update (ending in e342), not the one in the URL POST (ending in 13de) DEBUG: get_ip: using cmd, /home/rdorman/nginx-ipv6.sh reports 2600:4040:71a6:6a00:bceb:d5ff:fe8a:13de INFO: forcing updating mh805.net&alias=dav because no cached entry exists. DEBUG: DEBUG: nic_dyndns2_update ------------------- INFO: setting IP address to 2600:4040:xxxx:xxxx:bceb:d5ff:fe8a:13de for domain.net&alias=dav UPDATE: updating domain.net&alias=dav DEBUG: proxy = <undefined> DEBUG: protocol = https DEBUG: server = api.dynu.com DEBUG: url = nic/update?<redacted> DEBUG: ip ver = CONNECT: api.dynu.com CONNECTED: using SSL SENDING: GET /nic/update?system=dyndns&hostname=domain.net&alias=dav&myip=2600:4040:xxxx:xxxx:bceb:d5ff:fe8a:13de HTTP/1.1 SENDING: Host: api.dynu.com SENDING: Authorization: Basic cmRvcm1hbjp1bmlzeXMyNjgwNQ== SENDING: User-Agent: ddclient/3.10.0 SENDING: Connection: close SENDING: RECEIVE: HTTP/1.1 200 OK RECEIVE: Date: Wed, 05 Aug 2026 13:48:48 GMT RECEIVE: Server: Dynu Web Server RECEIVE: X-Powered-By: Dynu Dynamic DNS Service RECEIVE: Content-Length: 44 RECEIVE: Content-Type: text/html; charset=UTF-8 RECEIVE: Connection: close RECEIVE: RECEIVE: good 2600:4040:xxxx:xxxx:6e1f:f7ff:fe29:e342 SUCCESS: updating domain.net&alias=dav: good: IP address set to 2600:4040:xxxx:xxxx:bceb:d5ff:fe8a:13de root@apex:/home/user# more /etc/ddclient.conf |
mercredi 5 août 2026 12:42
