Finding your dynamic external IP
    Technical Director 
    trodat at ultratrends.com
       
    Mon Aug  4 07:40:24 PDT 2003
    
    
  
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 at dsj.net
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Life is divided into the horrible and the miserable.
> 		-- Woody Allen, "Annie Hall"
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 
    
    
More information about the freebsd-questions
mailing list