03-27-2025 06:25 PM - edited 03-27-2025 06:50 PM
Hi,
I've been using OPENDNS and Linux IP UPDATER without issue until recently (AFAIK). I changed my password a few weeks ago and last week I realized the IP address wasn't changing. In troubleshooting, I realized I neglected to also change my password in /etc/ddclient.conf, so I updated it with the new password. After changing the password in the .conf file, I'm not sure that the updater or ddclient is working correctly. So I'd like help please.
I've set up following this article:
https://support.opendns.com/hc/en-us/articles/227987727-Linux-IP-Updater-for-Dynamic-Networks
##
## OpenDNS.com account-configuration
##
protocol=dyndns2
use=web, web=myip.dnsomatic.com
ssl=yes
server=updates.opendns.com
login=opendns_username
password='opendns_password'
opendns_network_label
From the CLI,
$ sudo service ddclient status
● ddclient.service - Update dynamic domain name service entries
Loaded: loaded (/lib/systemd/system/ddclient.service; enabled; preset: enabled)
Active: active (running) since Thu 2025-03-27 17:59:48 MDT; 1h 14min ago
Docs: man:ddclient(8)
Process: 42410 ExecStart=/usr/bin/ddclient -daemon $daemon_interval -syslog -pid /run/ddclient.pid (code=exited, status=0/SUCCESS)
Main PID: 42411 (ddclient - slee)
Tasks: 1 (limit: 38229)
Memory: 16.7M
CPU: 2.253s
CGroup: /system.slice/ddclient.service
└─42411 "ddclient - sleeping for 10 seconds"
FAILED: updating : unexpected status (0)
FAILED: was not updated because protocol <undefined> is not supported.
WARNING: skipping update of Home from <nothing> to "MY DYNAMIC IP ADDRESS".
WARNING: last updated <never> but last attempt on Thu Mar 27 18:49:50 2025 failed.
WARNING: Wait at least 5 minutes between update attempts.
SUCCESS: updating : good: IP address set to "MY DYNAMIC IP ADDRESS"
FAILED: updating : unexpected status (0)
FAILED: was not updated because protocol <undefined> is not supported.
FAILED: updating : unexpected status (0)
FAILED: was not updated because protocol <undefined> is not supported.
Does dyndns2 need to be changed to something else?
Thanks,
PG
08-18-2025 11:53 AM
So I had this problem. I installed ddclient 3.9.1-7, but I don't think that solved b/c I was still getting the FAILED message like you.
All of this is from using ChatGPT
Check for multiple config files:
ls -l /etc/ddclient.conf /etc/ddclient/ddclient.conf 2>/dev/null
sudo grep -RIn . -e 'protocol=|server=|login=|password=|opendns_networklabel' /etc/ddclient* 2>/dev/null
Nuke line ending characters
sudo sed -i 's/\r$//' /etc/ddclient.conf
sudo perl -pi -e 's/[ \t]+$//' /etc/ddclient.conf
sudo nl -ba /etc/ddclient.conf | sed -n '1,120p'
Check that the default file isn't adding surprises
sudo sed -n '1,200p' /etc/default/ddclient
Restart, then run once in the foreground with full debug
sudo systemctl restart ddclient
sudo ddclient -daemon=0 -debug -verbose -noquiet
You should see exactly one attempt ending with good <IP> or nochg <IP>.
No unexpected status (12). No protocol <undefined>.
I hope this helps if you haven't got it sorted yet.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide