Using dhclient to update zoneedit with my dynamic IP address
Barbish3 at adelphia.net
Fri Feb 13 11:17:23 PST 2004
Thanks for the pointer to the 'man dhclient-script'.
I read through it 3-5 times and the best I can make out of what
it says is, that if I create an file like this
/etc/dhclient-exit-hooks.sh with this content
wget -O - --http-user=username --http-passwd=password,
Then every time dhclient runs (IE: at bootup and lease expire)
the dhclient-exit-hooks.sh gets run.
I this the correct interpretation?
My wget command does not need the ip address or even know that it
changed, the event of running and making contact with the zoneedit
site will give zoneedit the ip address value of the system
requesting the http url request. I just need this to be launched at
the correct time and dhclient is the correct facility and timing to
Any help would be greatly approached
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Ceri Davies
Sent: Friday, February 13, 2004 1:17 PM
Cc: freebsd-questions at FreeBSD. ORG
Subject: Re: Using dhclient to update zoneedit with my dynamic IP
On Thu, Feb 12, 2004 at 05:32:42PM -0500, JJB wrote:
> The zonedeit FAQ says this command can be used in dhclient to
> update my dynamic ip address at zoneedit when ever dhclient
> gets an new IP lease from my ISP.
> wget -O - --http-user=username --http-passwd=password
> Anybody doing this, or know what to add to /etc/dhclient.conf to
Check the manpage for dhclient-script, specifically regarding the
hook and /etc/dhclient-exit-hooks.
More information about the freebsd-questions