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                        [EMAIL PROTECTED]
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Life is divided into the horrible and the miserable.
>               -- Woody Allen, "Annie Hall"
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to