On Sun, Aug 03, 2003 at 11:02:19PM -0400, Lowell Gilbert wrote: > "David S. Jackson" <[EMAIL PROTECTED]> 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...
I use ifconfig rl0 | grep "inet " | awk '{print $2}' where rl0 is my external interface. Bob Hall _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"