From owner-freebsd-questions@FreeBSD.ORG Mon Aug 4 07:40:24 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E22037B401 for ; Mon, 4 Aug 2003 07:40:24 -0700 (PDT) Received: from server1.ultratrends.com (server1.ultratrends.com [205.206.59.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 740D043FA3 for ; Mon, 4 Aug 2003 07:40:21 -0700 (PDT) (envelope-from trodat@ultratrends.com) Received: from server1.ultratrends.com (localhost [127.0.0.1]) h74FdDGB003118; Mon, 4 Aug 2003 08:39:13 -0700 (MST) Received: from localhost (trodat@localhost)h74FdDNX003115; Mon, 4 Aug 2003 08:39:13 -0700 (MST) X-Authentication-Warning: server1.ultratrends.com: trodat owned process doing -bs Date: Mon, 4 Aug 2003 08:39:13 -0700 (MST) From: Technical Director To: "David S. Jackson" In-Reply-To: <20030803221318.GA13418@sylvester.dsj.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Finding your dynamic external IP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 14:40:24 -0000 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" >