ddclient: invalid protocol freedns

Asked by mak berlin on 2013-06-05

I want to use an ubuntu 12.04 laptop as a webserver, but the router of my ISP gets every day a new IP. So I've configued a subdomain at freedns.afraid.com and the ddclient, to renew the IP.
But ddclients fails with the following error:

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

debug-modus:
DEBUG: get_ip: using web, checkip.dyndns.org reports 91.61.94.153
WARNING: skipping update of nesin.mooo.com from <nothing> to 91.61.94.153.

freedns.afraid.org shows the IP of the last day.

version of ddclient: 3.8.0-11.4ubuntu1
ddclient.conf:
protocol=freedns
ssl=yes ## also tested with no
use=web, web=checkip.dyndns.org/, web-skip='IP Address'
server=freedns.afraid.org
login=XXXX
password='XXXX'
XXX.mooo.com

Can anyone help me with ddclient?
kind regards
michaela

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu ddclient Edit question
Assignee:
No assignee Edit question
Solved by:
mak berlin
Solved:
2013-06-05
Last query:
2013-06-05
Last reply:
daniel CURTIS (anoda) said : #1

Hi Mak. Firstly: it seems, that warning /var/cache/ddclient/ddclient.cache file is an old bug, but it should work for now [1]. Make sure you have the latest version of ddclient. I think, that you could take a look at the line 3 of ddclient.cache file. On the web there is plenty of similar topics. One of the best HowTo's seems to be article about DDNS Client Software - Linux DDclient [2].

,-----[ /etc/ddclient.conf example ]
| daemon=150
| cache=/tmp/ddclient.cache
| pid=/var/run/ddclient.pid
| use=web, web=checkip.dyndns.com/, web-skip=
| login=my.login
| password=my.secret.password
| use=ip, ip=1.2.3.4
| protocol=dyndns2
| server=dyn.com
| my.doman.name
`-----

Please remember about restart ddclient!

,-----[ look also here: ]
| http://sourceforge.net/apps/trac/ddclient/ticket/30
| http://dyn.com/support/developers/api/perform-update/
| http://dyn.com/support/clients/linux/ddclient/
| https://help.ubuntu.com/community/DynamicDNS
`-----

Best regards.
_____________
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528950
[2] http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch19_:_Dynamic_DNS#DDNS_Client_Software_-_Linux_DDclient
http://askubuntu.com/questions/64219/why-is-ddclient-giving-me-an-invalid-ip-error-when-trying-to-update-dynamic-dn

mak berlin (8-mak) said : #2

thank you, krikras, for the fast answer! I found an workaround for the failure of protocol freedns, that works for me, I take a free domainname from no-ip, which the router of my ISP know ;)
best regards, mak

daniel CURTIS (anoda) said : #3

Hi. I'm glad, that you have found a solution. Honestly, I thought about the 'protocol' entries - I wanted to suggest you change of this value, but I was not sure for 100 percent.

Best regards.