[JunkMail] Re: Finding your dynamic external IP
mwoodson at sricrm.com
Mon Aug 4 10:07:13 PDT 2003
On Monday 04 August 2003 08:39 am, Technical Director wrote:
> On Sun, 3 Aug 2003, David S. Jackson wrote:
> > 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?
dhclient allows you to execute scripts when it runs.
man dhclient-scripts and see the HOOKS sections, but the gist is that you can
create an /etc/dhclient-(enter|exit)-hooks script to do whatever you might
More information about the freebsd-questions