Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2003 08:39:13 -0700 (MST)
From:      Technical Director <trodat@ultratrends.com>
To:        "David S. Jackson" <deepbsd@earthlink.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Finding your dynamic external IP
Message-ID:  <Pine.BSF.4.21.0308040833470.3102-100000@server1.ultratrends.com>
In-Reply-To: <20030803221318.GA13418@sylvester.dsj.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Hello,

AFAIK in 4.#(.#) releases, /var/db/dhclient.leases also has the current IP
in a block format:

eg:

lease {
  interface "de0";
  fixed-address X.X.X.X;
  on and on
  ...
}

NOTE: When a new address is assigned it is "appended" to the end of the
leases file.

R.

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?
> 
> -- 
> David S. Jackson                        dsj@dsj.net
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Life is divided into the horrible and the miserable.
> 		-- Woody Allen, "Annie Hall"
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0308040833470.3102-100000>