From owner-freebsd-questions Mon Dec 3 22:18:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.anu.edu.au (mail.anu.edu.au [150.203.2.7]) by hub.freebsd.org (Postfix) with ESMTP id 2285B37B417 for ; Mon, 3 Dec 2001 22:18:04 -0800 (PST) Received: from nucl03.anu.edu.au (nucl03.anu.edu.au [150.203.19.120]) by mail.anu.edu.au (8.9.3/8.9.3) with ESMTP id RAA22255; Tue, 4 Dec 2001 17:17:58 +1100 (EST) Received: (from gjl103@localhost) by nucl03.anu.edu.au (8.11.6/8.11.6) id fB46HQO27753; Tue, 4 Dec 2001 17:17:26 +1100 (EST) (envelope-from gjl103) Date: Tue, 4 Dec 2001 17:17:26 +1100 From: Greg Lane To: Drew Tomlinson Cc: freebsd-questions@freebsd.org, jacks@sage-american.com Subject: Re: Dynamic IP Resolvers Message-ID: <20011204171726.A27668@nucl03.anu.edu.au> Mail-Followup-To: Drew Tomlinson , freebsd-questions@freebsd.org, jacks@sage-american.com References: <3.0.5.32.20011203213608.0132d5d8@mail.sage-american.com> <20011204144834.A26955@nucl03.anu.edu.au> <00d001c17c7b$1fcfac90$0b01a8c0@lc.ca.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00d001c17c7b$1fcfac90$0b01a8c0@lc.ca.gov>; from drew@mykitchentable.net on Mon, Dec 03, 2001 at 08:21:19PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Dec 03, 2001 at 08:21:19PM -0800, Drew Tomlinson wrote: > ----- Original Message ----- > From: "Greg Lane" > To: > Cc: > Sent: Monday, December 03, 2001 7:48 PM > Subject: Re: Dynamic IP Resolvers > > > > On Mon, Dec 03, 2001 at 09:36:08PM -0600, jacks@sage-american.com > wrote: > > > A while back, some one mentioned some web sites that provide > services with > > > a method of resolving DNS for servers running on dynamic IPs. > > > > I use the services of www.dyndns.org. You go through some simple setup > > on their web-site and then install a client program that monitors > > your dynamic IP. I use ipcheck (requires python) and run it > > from cron every five minutes. > > I started with www.dynip.com (about $35 US per year). Now I use > www.zoneedit.com. ZoneEdit is free for up to 5 domains. It's a little > more difficult to set up as they don't have a client program > pre-packaged but they give an example of a lynx command that will > update. Right now I update once an hour as that is the most frequent > allowed and run it as a cron job. I intend to write a script that > stores my current IP in a file and then checks my current IP against > what is stored. If the two don't match, then update. This should allow > me to have faster updates and take load off the ZoneEdit servers by only > updating when necessary. > > HTH, > > Drew Perhaps I should clarify 2 things: 1) ipcheck checks if the IP address has changed. It only updates when it has changed, or every 28 days if it hasn't so that dnydns.org doesn't drop you from their database for being idle. I only run it every five minutes to see if the address has changed. It might serve as a nice template for your script. The source is easy to understand. See http://ipcheck.sourceforge.net 2) dnydns.org is free as well I know nothing about zoneedit.com. Sorry! Cheers, Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message