From owner-freebsd-isp Wed Mar 4 07:31:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA21382 for freebsd-isp-outgoing; Wed, 4 Mar 1998 07:31:16 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from magicnet.magicnet.net (root@magicnet.magicnet.net [204.96.116.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA21321 for ; Wed, 4 Mar 1998 07:31:00 -0800 (PST) (envelope-from bill@bilver.magicnet.net) Received: from bilver.magicnet.net (uucp@localhost) by magicnet.magicnet.net (8.8.6/8.8.6) with UUCP id IAA22755 for freebsd-isp@freebsd.org; Wed, 4 Mar 1998 08:52:33 -0500 (EST) Received: (from bill@localhost) by bilver.magicnet.net (8.8.5/8.7.3) id IAA28740 for freebsd-isp@freebsd.org; Wed, 4 Mar 1998 08:45:16 -0500 (EST) From: Bill Vermillion Message-Id: <199803041345.IAA28740@bilver.magicnet.net> Subject: Re: in search of a program In-Reply-To: from "Matthew D. Fuller" at "Mar 3, 98 06:59:39 pm" To: freebsd-isp@FreeBSD.ORG Date: Wed, 4 Mar 1998 08:45:16 -0500 (EST) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Recently Matthew D. Fuller said: > On Tue, 3 Mar 1998, Zachary Maas wrote: > > > Is there any program that makes adding/updating DNS entries an easier task? > > It is not to hard at all but i am just wondering if there is a program to > > simplify things and manage things better? > If you have a copy of the UNIX System Administration Handbook (Nemeth et > al), they have an addhost system described in chapter 16, section 16 that > should handle this. If you don't have the book, I'd recommend getting > it; it's one of the most valuable books I've ever read, and I still refer > to it at least daily. > > > Thanks for any help, > > Zac I've been handling all my manual, but I find I've been doing it slightly differently than others. In the named.hosts and named.rev files the first line has an include statement to read in the named.soa. By doing this I never miss a serial number update. I also have a small template - about 10 lines long - that I just do a global search and replace for a new domain name. I have an individual file of this for each domain, with it's name as part of the file. If the site is foobar.com, the file is called named.foobar. I just add this entry to named.boot. I typically will add 10 or more 'dummy fields' in the named.rev and named.hosts with a ; at the front, and a dummy name of newsite.com. I can put a new site in the system in just a minute or so, updated the named.soa and restart. I hadn't checked out the addhosts. I've seen others that try to put all sites in one file, but having individual sites for each file makes it quick and easy. If a site moved, I can just comment out the entry in named,boot, and restart. That takes just seconds. Bill -- bill@bilver.magicnet.net | bill@bilver.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message