Date: Mon, 4 Aug 2003 10:07:18 -0700 From: Mark Woodson <mwoodson@sricrm.com> To: Technical Director <trodat@ultratrends.com>, "David S. Jackson" <deepbsd@earthlink.net> Cc: freebsd-questions@freebsd.org Subject: Re: [JunkMail] Re: Finding your dynamic external IP Message-ID: <200308041007.18995.mwoodson@sricrm.com> In-Reply-To: <Pine.BSF.4.21.0308040833470.3102-100000@server1.ultratrends.com> References: <Pine.BSF.4.21.0308040833470.3102-100000@server1.ultratrends.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 need. -Mark
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308041007.18995.mwoodson>