I got the Ip address part figured out when I run "ddclient -daemon=0 -verbose" I get a line that reports the correct IP for my router.
RECEIVE: <html><head><title>Current IP Check</title></head><body>Current IP Address: xxx.xxx.xxx.xxx</body></html>
Ok all is good.
I have it added to chkconfig, I verify via chkconfig -t and see that ddclient is on.
"ddclient on"
It doesn't seem as though I see activity in the syslog as the last hour has gone by and nothing.
This is the top of the 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.
#ssl=yes # use ssl-support. Works with
so it should be running every 5 mins?
Ok so I run it manually and I see it in the syslog, but DYNDNS is not updated. Here is the DYNDNS part of the config.
use=web # via web
#
#protocol=dyndns2 # default protocol
#proxy=fasthttp.sympatico.ca:80 # default proxy
#server=members.dyndns.org # default server
#server=members.dyndns.org:8245 # default server (bypassing proxies)
Jan 27 09:30:50 RpzSuSe ddclient[23614]: CONNECT: checkip.dyndns.org
Jan 27 09:30:50 RpzSuSe ddclient[23614]: CONNECTED: using HTTP
Jan 27 09:30:50 RpzSuSe ddclient[23614]: SENDING: GET / HTTP/1.0
Jan 27 09:30:50 RpzSuSe ddclient[23614]: SENDING: Host: checkip.dyndns.org
Jan 27 09:30:50 RpzSuSe ddclient[23614]: SENDING: User-Agent: ddclient/3.7.0
Jan 27 09:30:50 RpzSuSe ddclient[23614]: SENDING: Connection: close
Jan 27 09:30:50 RpzSuSe ddclient[23614]: SENDING:
Jan 27 09:30:50 RpzSuSe ddclient[23614]: RECEIVE: HTTP/1.1 200 OK
Jan 27 09:30:50 RpzSuSe ddclient[23614]: RECEIVE: Content-Type: text/html
Jan 27 09:30:50 RpzSuSe ddclient[23614]: RECEIVE: Server: DynDNS-CheckIP/1.0
Jan 27 09:30:50 RpzSuSe ddclient[23614]: RECEIVE: Connection: close
Jan 27 09:30:50 RpzSuSe ddclient[23614]: RECEIVE: Cache-Control: no-cache
Jan 27 09:30:51 RpzSuSe ddclient[23614]: RECEIVE: Pragma: no-cache
Jan 27 09:30:51 RpzSuSe ddclient[23614]: RECEIVE: Content-Length: 107
Jan 27 09:30:51 RpzSuSe ddclient[23614]: RECEIVE:
Jan 27 09:30:51 RpzSuSe ddclient[23614]: RECEIVE: <html><head><title>Current IP Check</title></head><body>Current IP Address: this.is.the.right.ip</body></html>
Jan 27 09:30:51 RpzSuSe ddclient[23614]: WARNING: skipping update of rpz.homeunix.com from <nothing> to "edited ip"
Jan 27 09:30:51 RpzSuSe ddclient[23614]: WARNING: last updated <never> but last attempt on Sat Jan 27 09:28:47 2007 failed.
Jan 27 09:30:51 RpzSuSe ddclient[23614]: WARNING: Wait at least 5 minutes between update attempts.
I know I am close but missing something important I guess, and I am tired of playing with it to get it to work. :) Not given up but I just don't get it.
Any help aprreciated.
Rp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sure I get that but it still doesn't work, since yesterday it has not updated the website? And my IP has changed?
I know I am missing something easy just not sure what? So when I run it now it gives me this.
INFO: setting IP address to xx.89.79.xx for rpz.homeunix.com
UPDATE: updating rpz.homeunix.com
CONNECT: members.dyndns.org
CONNECTED: using HTTP
SENDING: GET /nic/update?system=dyndns&hostname=rpz.homeunix.com&myip=xx.89.79.xx HTTP/1.0
SENDING: Host: members.dyndns.org
SENDING: Authorization: Basic cnB3aGl0ZTM6c2hhcm9u
SENDING: User-Agent: ddclient/3.7.0
SENDING: Connection: close
SENDING:
RECEIVE: HTTP/1.1 200 OK
RECEIVE: Date: Sun, 28 Jan 2007 21:29:20 GMT
RECEIVE: Server: Apache/1.3.33 (Unix) mod_perl/1.29
RECEIVE: Content-Type: text/plain; charset=ISO-8859-1
RECEIVE: Connection: close
RECEIVE:
RECEIVE: nohost
FAILED: updating rpz.homeunix.com: nohost: The hostname specified does not exist in the database
Here the last line tells me the site I setup at dyndns.com doesn't exist? This is the part that is making it not work I assume, the other part is the daemon is only running once it seems?
Thanks in advance, I know I am close, just missing one thing or so.
Still learning Linux as well...
Rp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I thought so, when it has the right IP, when i goto rpz.homeunix.com i get my status page of my router, which doesn't seem good now that I think about it.
I will check it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok,
I got the Ip address part figured out when I run "ddclient -daemon=0 -verbose" I get a line that reports the correct IP for my router.
RECEIVE: <html><head><title>Current IP Check</title></head><body>Current IP Address: xxx.xxx.xxx.xxx</body></html>
Ok all is good.
I have it added to chkconfig, I verify via chkconfig -t and see that ddclient is on.
"ddclient on"
It doesn't seem as though I see activity in the syslog as the last hour has gone by and nothing.
This is the top of the 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.
#ssl=yes # use ssl-support. Works with
so it should be running every 5 mins?
Ok so I run it manually and I see it in the syslog, but DYNDNS is not updated. Here is the DYNDNS part of the config.
use=web # via web
#
#protocol=dyndns2 # default protocol
#proxy=fasthttp.sympatico.ca:80 # default proxy
#server=members.dyndns.org # default server
#server=members.dyndns.org:8245 # default server (bypassing proxies)
login=myloginfor dyndns.com # default login
password=password # default password
#mx=mx.for.your.host # default MX
#backupmx=yes|no # host is primary MX?
#wildcard=yes|no # add wildcard CNAME?
##
## dyndns.org dynamic addresses
##
## (supports variables: wildcard,mx,backupmx)
##
server=members.dyndns.org, \ protocol=dyndns2 \ mywhatever.homeunix.com #your-dynamic-host.dyndns.org
Then in the syslog i see this.
Jan 27 09:30:50 RpzSuSe ddclient[23614]: CONNECT: checkip.dyndns.org
Jan 27 09:30:50 RpzSuSe ddclient[23614]: CONNECTED: using HTTP
Jan 27 09:30:50 RpzSuSe ddclient[23614]: SENDING: GET / HTTP/1.0
Jan 27 09:30:50 RpzSuSe ddclient[23614]: SENDING: Host: checkip.dyndns.org
Jan 27 09:30:50 RpzSuSe ddclient[23614]: SENDING: User-Agent: ddclient/3.7.0
Jan 27 09:30:50 RpzSuSe ddclient[23614]: SENDING: Connection: close
Jan 27 09:30:50 RpzSuSe ddclient[23614]: SENDING:
Jan 27 09:30:50 RpzSuSe ddclient[23614]: RECEIVE: HTTP/1.1 200 OK
Jan 27 09:30:50 RpzSuSe ddclient[23614]: RECEIVE: Content-Type: text/html
Jan 27 09:30:50 RpzSuSe ddclient[23614]: RECEIVE: Server: DynDNS-CheckIP/1.0
Jan 27 09:30:50 RpzSuSe ddclient[23614]: RECEIVE: Connection: close
Jan 27 09:30:50 RpzSuSe ddclient[23614]: RECEIVE: Cache-Control: no-cache
Jan 27 09:30:51 RpzSuSe ddclient[23614]: RECEIVE: Pragma: no-cache
Jan 27 09:30:51 RpzSuSe ddclient[23614]: RECEIVE: Content-Length: 107
Jan 27 09:30:51 RpzSuSe ddclient[23614]: RECEIVE:
Jan 27 09:30:51 RpzSuSe ddclient[23614]: RECEIVE: <html><head><title>Current IP Check</title></head><body>Current IP Address: this.is.the.right.ip</body></html>
Jan 27 09:30:51 RpzSuSe ddclient[23614]: WARNING: skipping update of rpz.homeunix.com from <nothing> to "edited ip"
Jan 27 09:30:51 RpzSuSe ddclient[23614]: WARNING: last updated <never> but last attempt on Sat Jan 27 09:28:47 2007 failed.
Jan 27 09:30:51 RpzSuSe ddclient[23614]: WARNING: Wait at least 5 minutes between update attempts.
I know I am close but missing something important I guess, and I am tired of playing with it to get it to work. :) Not given up but I just don't get it.
Any help aprreciated.
Rp
Last line says it all: Jan 27 09:30:51 RpzSuSe ddclient[23614]: WARNING: Wait at least 5 minutes between update attempts.
wimpunk.
Sure I get that but it still doesn't work, since yesterday it has not updated the website? And my IP has changed?
I know I am missing something easy just not sure what? So when I run it now it gives me this.
INFO: setting IP address to xx.89.79.xx for rpz.homeunix.com
UPDATE: updating rpz.homeunix.com
CONNECT: members.dyndns.org
CONNECTED: using HTTP
SENDING: GET /nic/update?system=dyndns&hostname=rpz.homeunix.com&myip=xx.89.79.xx HTTP/1.0
SENDING: Host: members.dyndns.org
SENDING: Authorization: Basic cnB3aGl0ZTM6c2hhcm9u
SENDING: User-Agent: ddclient/3.7.0
SENDING: Connection: close
SENDING:
RECEIVE: HTTP/1.1 200 OK
RECEIVE: Date: Sun, 28 Jan 2007 21:29:20 GMT
RECEIVE: Server: Apache/1.3.33 (Unix) mod_perl/1.29
RECEIVE: Content-Type: text/plain; charset=ISO-8859-1
RECEIVE: Connection: close
RECEIVE:
RECEIVE: nohost
FAILED: updating rpz.homeunix.com: nohost: The hostname specified does not exist in the database
Here the last line tells me the site I setup at dyndns.com doesn't exist? This is the part that is making it not work I assume, the other part is the daemon is only running once it seems?
Thanks in advance, I know I am close, just missing one thing or so.
Still learning Linux as well...
Rp
wim@nooks:~$ host rpz.homeunix.com
Host rpz.homeunix.com not found: 3(NXDOMAIN)
So I'm afraid dyndns.com tells you the truth. Did you correctly registered at dyndns?
I thought so, when it has the right IP, when i goto rpz.homeunix.com i get my status page of my router, which doesn't seem good now that I think about it.
I will check it.
And now it gives me my setup page? Ok now I am confused...