Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Configure debian ddclient with dyndns noip.com

I'm having trouble to configure debian jessie as noip.com updater. My config looks like this:
# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf

use=web
web=checkip.dyndns.com
web-skip='Current IP Address: '

protocol=dyndns2
server=dynupdate.no-ip.com/nic/update
login=myusername
password='mypass'
myhost.noip.me


everything seems to be fine but if I ping myhost.noip.me the ip address is not updated. By checking
ddclient -daemon=0 -debug -verbose -noquiet 2 /etc/ddclient.conf


I get the following reply:
.conf
=== opt ====
opt{cache} : <undefined>
opt{cmd} : <undefined>
opt{cmd-skip} : <undefined>
opt{daemon} : 0
opt{debug} : 1
opt{exec} : <undefined>
opt{facility} : <undefined>
opt{file} : <undefined>
opt{force} : <undefined>
opt{foreground} : <undefined>
opt{fw} : <undefined>
opt{fw-login} : <undefined>
opt{fw-password} : <undefined>
opt{fw-skip} : <undefined>
opt{geturl} : <undefined>
opt{help} : <undefined>
opt{host} : <undefined>
opt{if} : <undefined>
opt{if-skip} : <undefined>
opt{ip} : <undefined>
opt{login} : <undefined>
opt{mail} : <undefined>
opt{mail-failure} : <undefined>
opt{max-interval} : 2592000
opt{min-error-interval} : 300
opt{min-interval} : 30
opt{options} : <undefined>
opt{password} : <undefined>
opt{pid} : <undefined>
opt{postscript} : <undefined>
opt{priority} : <undefined>
opt{protocol} : <undefined>
opt{proxy} : <undefined>
opt{query} : <undefined>
opt{quiet} : 0
opt{retry} : <undefined>
opt{server} : <undefined>
opt{ssl} : <undefined>
opt{syslog} : <undefined>
opt{test} : <undefined>
opt{timeout} : <undefined>
opt{use} : <undefined>
opt{verbose} : 1
opt{web} : <undefined>
opt{web-skip} : <undefined>
=== globals ====
globals{daemon} : 60
globals{debug} : 1
globals{login} : myusername
globals{password} : mypass
globals{protocol} : dyndns2
globals{quiet} : 0
globals{server} : dynupdate.no-ip.com/nic/update
globals{use} : web
globals{verbose} : 1
globals{web} : checkip.dyndns.com
globals{web-skip} : Current IP Address:
=== config ====
config{myhost.noip.me}{atime} : 0
config{myhost.noip.me}{backupmx} : 0
config{myhost.noip.me}{cacheable} : ARRAY(0x1770c50)
config{myhost.noip.me}{cmd} : <undefined>
config{myhost.noip.me}{cmd-skip} :
config{myhost.noip.me}{custom} : 0
config{myhost.noip.me}{fw} :
config{myhost.noip.me}{fw-login} : <undefined>
config{myhost.noip.me}{fw-password} :
config{myhost.noip.me}{fw-skip} :
config{myhost.noip.me}{host} : myhost.noip.me
config{myhost.noip.me}{if} : ppp0
config{myhost.noip.me}{if-skip} :
config{myhost.noip.me}{ip} : <undefined>
config{myhost.noip.me}{login} : myusername
config{myhost.noip.me}{max-interval} : 2592000
config{myhost.noip.me}{min-error-interval} : 300
config{myhost.noip.me}{min-interval} : 30
config{myhost.noip.me}{mtime} : 0
config{myhost.noip.me}{mx} :
config{myhost.noip.me}{password} : mypass
config{myhost.noip.me}{protocol} : dyndns2
config{myhost.noip.me}{script} : /nic/update
config{myhost.noip.me}{server} : dynupdate.no-ip.com/nic/update
config{myhost.noip.me}{static} : 0
config{myhost.noip.me}{status} :
config{myhost.noip.me}{use} : web
config{myhost.noip.me}{warned-min-error-interval} : 0
config{myhost.noip.me}{warned-min-interval} : 0
config{myhost.noip.me}{web} : checkip.dyndns.com
config{myhost.noip.me}{web-skip} : Current IP Address:
config{myhost.noip.me}{wildcard} : 0
config{myhost.noip.me}{wtime} : 30
=== cache ====
cache{myhost.noip.me}{atime} : 0
cache{myhost.noip.me}{backupmx} : 0
cache{myhost.noip.me}{custom} : 0
cache{myhost.noip.me}{host} : myhost.noip.me
cache{myhost.noip.me}{ip} : 12.34.56.78
cache{myhost.noip.me}{mtime} : 1437992275
cache{myhost.noip.me}{mx} :
cache{myhost.noip.me}{script} : /nic/update
cache{myhost.noip.me}{static} : 0
cache{myhost.noip.me}{status} :
cache{myhost.noip.me}{warned-min-error-interval} : 0
cache{myhost.noip.me}{warned-min-interval} : 0
cache{myhost.noip.me}{wildcard} : 0
cache{myhost.noip.me}{wtime} : 30
DEBUG: proxy =
DEBUG: url = checkip.dyndns.com
DEBUG: server = checkip.dyndns.com
CONNECT: checkip.dyndns.com
CONNECTED: using HTTP
SENDING: GET / HTTP/1.0
SENDING: Host: checkip.dyndns.com
SENDING: User-Agent: ddclient/3.8.2
SENDING: Connection: close
SENDING:
RECEIVE: HTTP/1.1 200 OK
RECEIVE: Content-Type: text/html
RECEIVE: Server: DynDNS-CheckIP/1.0
RECEIVE: Connection: close
RECEIVE: Cache-Control: no-cache
RECEIVE: Pragma: no-cache
RECEIVE: Content-Length: 103
RECEIVE:
RECEIVE: <html><head><title>Current IP Check</title></head><body>Current IP Address: 12.34.56.78</body></html>
DEBUG: get_ip: using web, checkip.dyndns.com reports 12.34.56.78
SUCCESS: myhost.noip.me: skipped: IP address was already set to 12.34.56.78.
*
I tooks like my current (artificial) IP "12.34.56.78" has been set properly. Now if I ping (my artificial host) myhost.noip.me I get a different IP.

Any suggestion what I need to change to get ddclient working with noip.com?
by

1 Answer

Amit8z4mc
protocol=noip

I'm using noip but with the protocol noip, like it was inside of the --help flag, look at this help to get more information.

Login / Signup to Answer the Question.