Date: 03 Aug 2003 23:02:19 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com> To: "David S. Jackson" <deepbsd@earthlink.net> Cc: freebsd-questions@freebsd.org Subject: Re: Finding your dynamic external IP Message-ID: <44ptjm9lc4.fsf@be-well.ilk.org> In-Reply-To: <20030803221318.GA13418@sylvester.dsj.net> References: <20030803221318.GA13418@sylvester.dsj.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-= "David S. Jackson" <deepbsd@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... --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=dhclient-exit-hooks Content-Description: dhclient-exit-hooks for use with noip.com if [ x$old_ip_address != x$new_ip_address ]; then /usr/local/bin/noip fi --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44ptjm9lc4.fsf>