cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
113
Views
0
Helpful
1
Replies

ddclient in Debian not able to update IP to OpenDNS

sij1
Level 1
Level 1

Hi,

I am running ddclient on debian 9

Following instructiuons in https://support.opendns.com/hc/en-us/articles/227987727

My Configuration in /etc/ddclient.conf is.

======================================

protocol=dyndns2
use=web, web=myip.dnsomatic.com
ssl=yes
server=updates.opendns.com
login=email@domain.net
password='************'
<network_name>

============================

But the IPs are not updated. Log is shown below. Please help troubleshoot

Thanks

Siju

=============================

Feb 17 09:27:03 debian ddclient[12959]: FAILED: updating <network_name>: Could not connect to updates.opendns.com.
Feb 17 09:27:47 debian systemd[1]: Stopping LSB: Update dynamic domain name service entries...
Feb 17 09:27:47 debian systemd[1]: Stopped LSB: Update dynamic domain name service entries.
Feb 17 09:28:00 debian systemd[1]: Starting LSB: Update dynamic domain name service entries...
Feb 17 09:28:00 debian systemd[1]: Started LSB: Update dynamic domain name service entries.
Feb 17 09:28:00 debian ddclient[16760]: WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
Feb 17 09:28:00 debian ddclient[16760]: WARNING: skipping update of <network_name> from <nothing> to 103.81.182.90.
Feb 17 09:28:00 debian ddclient[16760]: WARNING: last updated <never> but last attempt on Sun Feb 17 09:25:02 2019 failed.
Feb 17 09:28:00 debian ddclient[16760]: WARNING: Wait at least 5 minutes between update attempts.

===========

1 Reply 1

rotblitz
Level 6
Level 6

I can see two key messages.

updating <network_name>: Could not connect to updates.opendns.com.

This looks like ddclient is being prevented to reach out to the internet, maybe by a firewall.

WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''

This is just a warning, maybe because it is the first time ddclient is being used, so the previous IP address may be an empty string.  But it should not reoccur after an IP address has been found.

See also https://support.opendns.com/hc/en-us/community/posts/360040994471
You may need to change from HTTP/1.0 to HTTP/1.1