Finding your dynamic external IP

Lowell Gilbert freebsd-questions-local at be-well.no-ip.com
Sun Aug 3 20:02:23 PDT 2003


"David S. Jackson" <deepbsd at earthlink.net> writes:

> If your external IP number changes, as with DHCP, is there a way
> to find out what it currently is?  I was thinking you could keep
> BitchX logged into a chat channel and script a /dns yournick and
> email yourself the results from time to time.   
> 
> How would you do it?

For DHCP specifically, the best thing to do is to use the
dhclient-exit-hooks script to do whatever you want.  My particular
example is attached...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dhclient-exit-hooks
Type: application/octet-stream
Size: 75 bytes
Desc: dhclient-exit-hooks for use with noip.com
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030803/7b52d043/dhclient-exit-hooks.obj


More information about the freebsd-questions mailing list