setting up ddclient

Peter Garrett peter.garrett at optusnet.com.au
Wed Jan 9 21:42:25 UTC 2008


On Wed, 09 Jan 2008 14:32:02 -0600
Wade Smart <wade at wadesmart.com> wrote:

> Wade Smart wrote:
> > NoOp wrote:
> 
> 01092008 1428 GMT-6
> 
> I went to DynDNS and ran the config editor to get the correct settings - 
> just in case :).  I restarted the client.
> 
> At 14:24:30 wadesmart dhclient: bound to 192.168.0.3 -- renewal in 1386 
> seconds
> 
> Ok. Thats the wrong address.

that is being reported by dhclient, not ddclient

dhclient: bound to 192.168.0.3   <--- reported by your dhclient

so that is just your local LAN address as assigned by dhclient (normal,
and I assume correct).
> 
> # /etc/ddclient.conf
> 
> daemon=600
> syslog=yes
> mail-failure=root
> mail=root
> pid=/var/run/ddclient.pid
> use=web, web=checkip.dyndns.com/, web-skip='IP Address'
> login=login
> password='password'
> ssl=yes
> protocol=dyndns2
> server=members.dyndns.org
> wadesmart.homelinux.com
> 
> Im not sure what the problem is now? Its checking it finally but its 
> bound to the wrong address. But, when I check the site, it is still 
> saying the 22nd was the last update.

You won't see any updates on the server unless your external ( routable)
address has actually changed...

Try the following to see if ddclient is doing its job:

html2text http://checkip.dyndns.org:8245/ | grep Current

or

links2 -dump http://checkip.dyndns.org:8245/  

# You can use lynx or links or elinks with  "-dump"  - or just browse to the address in Firefox etc., if that's easier

Check that address against:
http://whatismyip.org/

They should be identical. If they are, it's working... assuming you didn't
do a manual update, of course.

Now do:

host wadesmart.homelinux.com

Here, that returns:

$ host wadesmart.homelinux.com
wadesmart.homelinux.com has address 24.116.7.60

Again, that should be the same. If there is a change in your actual IP it
usually takes a maximum of five minutes to propagate, in my experience.
Usually it's faster than that...

Peter

-- 
"INX Is Not X" based on Ubuntu 7.04 Live CD: http://inx.maincontent.net
Screenshots slideshow: http://inx.maincontent.net/album/1.png.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080110/bc0cf1c5/attachment.sig>


More information about the ubuntu-users mailing list