Sample Header Ad - 728x90

Configure debian ddclient with dyndns noip.com

7 votes
4 answers
13813 views
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} : opt{cmd} : opt{cmd-skip} : opt{daemon} : 0 opt{debug} : 1 opt{exec} : opt{facility} : opt{file} : opt{force} : opt{foreground} : opt{fw} : opt{fw-login} : opt{fw-password} : opt{fw-skip} : opt{geturl} : opt{help} : opt{host} : opt{if} : opt{if-skip} : opt{ip} : opt{login} : opt{mail} : opt{mail-failure} : opt{max-interval} : 2592000 opt{min-error-interval} : 300 opt{min-interval} : 30 opt{options} : opt{password} : opt{pid} : opt{postscript} : opt{priority} : opt{protocol} : opt{proxy} : opt{query} : opt{quiet} : 0 opt{retry} : opt{server} : opt{ssl} : opt{syslog} : opt{test} : opt{timeout} : opt{use} : opt{verbose} : 1 opt{web} : opt{web-skip} : === 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} : config{myhost.noip.me}{cmd-skip} : config{myhost.noip.me}{custom} : 0 config{myhost.noip.me}{fw} : config{myhost.noip.me}{fw-login} : 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} : 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: Current IP CheckCurrent IP Address: 12.34.56.78 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?
Asked by nali (171 rep)
Jul 28, 2015, 01:46 PM
Last activity: Nov 12, 2024, 10:17 AM