LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   ddclient doesn't update my IP (https://www.linuxquestions.org/questions/linux-server-73/ddclient-doesnt-update-my-ip-697495/)

amimusa 01-15-2009 08:49 AM

ddclient doesn't update my IP
 
Hello,

ddclient doesn't want to update my IP.

I paste the config file and the debug output.

Please, I need help. I will appreciate very much any kind of hint.
1.
# /etc/ddclient.conf
2.
# Configuration file for ddclient generated by debconf
3.
#
4.
# /etc/ddclient.conf
5.

6.
pid=/var/run/ddclient.pid
7.
protocol=zoneedit1
8.
#use=if, if=eth0
9.
#use=web, web=http://crysol.org/node/83, web-skip='IP externa es:'
10.
use=web, web='http://checkip.dyndns.org/', web-skip='Current IP Address:'
11.
server=www.zoneedit.com
12.
login=****
13.
password=****
14.
amimusa.net amimusa.org azahar1991.com
15.

16.

17.
amimusa:~# ddclient -daemon=0 -debug -verbose -noquiet
18.
=== opt ====
19.
opt{cache} : <undefined>
20.
opt{cmd} : <undefined>
21.
opt{cmd-skip} : <undefined>
22.
opt{daemon} : 0
23.
opt{debug} : 1
24.
opt{exec} : <undefined>
25.
opt{facility} : <undefined>
26.
opt{file} : <undefined>
27.
opt{force} : <undefined>
28.
opt{fw} : <undefined>
29.
opt{fw-login} : <undefined>
30.
opt{fw-password} : <undefined>
31.
opt{fw-skip} : <undefined>
32.
opt{geturl} : <undefined>
33.
opt{help} : <undefined>
34.
opt{host} : <undefined>
35.
opt{if} : <undefined>
36.
opt{if-skip} : <undefined>
37.
opt{ip} : <undefined>
38.
opt{login} : <undefined>
39.
opt{mail} : <undefined>
40.
opt{mail-failure} : <undefined>
41.
opt{max-interval} : 2592000
42.
opt{min-error-interval} : 300
43.
opt{min-interval} : 30
44.
opt{options} : <undefined>
45.
opt{password} : <undefined>
46.
opt{pid} : <undefined>
47.
opt{priority} : <undefined>
48.
opt{protocol} : <undefined>
49.
opt{proxy} : <undefined>
50.
opt{query} : <undefined>
51.
opt{quiet} : 0
52.
opt{retry} : <undefined>
53.
opt{server} : <undefined>
54.
opt{syslog} : <undefined>
55.
opt{test} : <undefined>
56.
opt{timeout} : <undefined>
57.
opt{use} : <undefined>
58.
opt{verbose} : 1
59.
opt{web} : <undefined>
60.
opt{web-skip} : <undefined>
61.
=== globals ====
62.
globals{daemon} : 60
63.
globals{debug} : 1
64.
globals{login} : jnez13
65.
globals{password} : wqapol
66.
globals{pid} : /var/run/ddclient.pid
67.
globals{protocol} : zoneedit1
68.
globals{quiet} : 0
69.
globals{use} : web
70.
globals{verbose} : 1
71.
globals{web} : http://checkip.dyndns.org/
72.
globals{web-skip} : Current IP Address:
73.
=== config ====
74.
config{amimusa.net}{atime} : 1232034941
75.
config{amimusa.net}{cacheable} : ARRAY(0x83db570)
76.
config{amimusa.net}{host} : amimusa.net
77.
config{amimusa.net}{ip} :
78.
config{amimusa.net}{login} : amimusa.org
79.
config{amimusa.net}{max-interval} : 2592000
80.
config{amimusa.net}{min-error-interval} : 300
81.
config{amimusa.net}{min-interval} : 300
82.
config{amimusa.net}{mtime} : 0
83.
config{amimusa.net}{password} : azahar1991.com
84.
config{amimusa.net}{protocol} : zoneedit1
85.
config{amimusa.net}{server} : www.zoneedit.com
86.
config{amimusa.net}{status} : noconnect
87.
config{amimusa.net}{warned-min-error-interval} : 0
88.
config{amimusa.net}{warned-min-interval} : 0
89.
config{amimusa.net}{wtime} : 0
90.
=== cache ====
91.
cache{amimusa.net}{atime} : 1232034941
92.
cache{amimusa.net}{host} : amimusa.net
93.
cache{amimusa.net}{ip} :
94.
cache{amimusa.net}{mtime} : 0
95.
cache{amimusa.net}{status} : noconnect
96.
cache{amimusa.net}{warned-min-error-interval} : 0
97.
cache{amimusa.net}{warned-min-interval} : 0
98.
cache{amimusa.net}{wtime} : 0
99.
CONNECT: checkip.dyndns.org
100.
CONNECTED:
101.
SENDING: GET / HTTP/1.0
102.
SENDING: Host: checkip.dyndns.org
103.
SENDING: User-Agent: ddclient/3.6.7
104.
SENDING: Connection: close
105.
SENDING:
106.
RECEIVE: HTTP/1.1 200 OK
107.
RECEIVE: Content-Type: text/html
108.
RECEIVE: Server: DynDNS-CheckIP/1.0
109.
RECEIVE: Connection: close
110.
RECEIVE: Cache-Control: no-cache
111.
RECEIVE: Pragma: no-cache
112.
RECEIVE: Content-Length: 104
113.
RECEIVE:
114.
RECEIVE: <html><head><title>Current IP Check</title></head><body>Current IP Address: 81.34.79.253</body></html>
115.
DEBUG: get_ip: using web, http://checkip.dyndns.org/ reports 81.34.79.253
116.
WARNING: skipping update of amimusa.net from <nothing> to 81.34.79.253.
117.
WARNING: last updated <never> but last attempt on Thu Jan 15 16:55:41 2009 failed.
118.
WARNING: Wait at least 5 minutes between update attempts.

Thank you very much for your time.

All beings be happy
OM SHANTI SHANTI SHANTI OM

anomie 01-16-2009 01:28 PM

I recommend editing your password out of that debug output. Then change your password afterwards.

Try setting your IP address from dyndns.org's website, and then try the ddclient update again. (And pay attention to its warnings, or they may ban you from further updates.)

amimusa 01-17-2009 11:06 PM

Iep,

Thanks for your replay.

I didn't realized the password was on the debug info, thanks.

The only way I have done it works has been creating a hostname at my dyndns account and use it in ddclient.conf

After that, I forward my zones defined in Zoneedit to that host.

I'd like to upgrade my IP in zoneedit and don't forward them to dyndns host, but no way in my many attemps trying ddclient with zoneedit.

I paste my ddclient.conf file. Commented lines are my attemps trying to use zoneedit. With theses settings works fine, but I would like not forward my zones but update the respective IP addresses from zoneedit.

any idea ?

Thank you very much for your time,
·_- manou

#pid=/var/run/ddclient.pid
#protocol=zoneedit1
#use=if, if=eth0
#use=web, web=http://crysol.org/node/83, web-skip='IP externa es:'
#use=web, web='http://checkip.dyndns.org/', web-skip='Current IP Address:'
#use=web, if=http://checkip.dyndns.org
#use=web, web='http://www.zoneedit.com/checkip.html/', web-skip='Current IP Address:'
#login=jnez13
#password='*******'
#amimusa.net amimusa.org azahar1991.com
daemon=300 # check every 300 seconds
syslog=yes # log update msgs to syslog
mail=root # mail all msgs to root
mail-failure=root # mail failed update msgs to root
pid=/var/run/ddclient.pid # record PID in file.

use=web, if=http://checkip.dyndns.org
server=members.dyndns.org # default server
login=amimusa
password=***** # default password

anomie 01-18-2009 02:47 PM

[ misunderstood the problem. ]

amimusa 01-18-2009 02:57 PM

Hi,

Thanks, no worries.

Fixed, I need to set other server from zoneedit.

This is the right config that work fine:
# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf

daemon=300 # check every 300 seconds
syslog=yes # log update msgs to syslog
mail=root # mail all msgs to root
mail-failure=root # mail failed update msgs to root
pid=/var/run/ddclient.pid # record PID in file.

## host update from zoneedit
protocol=zoneedit1
use=web, web='http://www.zoneedit.com/checkip.html/', web-skip='Current IP Address:'
server=dynamic.zoneedit.com
login=jnez13
password=********
amimusa.net
amimusa.org
azahar1991.com

Thanks for reading, the feedback and your time.

·_- manou

All beings be happy
OM SHANTI SHANTI SHANTI OM


All times are GMT -5. The time now is 05:29 PM.