Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Mar 1998 08:45:16 -0500 (EST)
From:      Bill Vermillion <bill@bilver.magicnet.net>
To:        freebsd-isp@FreeBSD.ORG
Subject:   Re: in search of a program
Message-ID:  <199803041345.IAA28740@bilver.magicnet.net>
In-Reply-To: <Pine.BSF.3.96.980303185803.27532F-100000@shell.futuresouth.com> from "Matthew D. Fuller" at "Mar 3, 98 06:59:39 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803041345.IAA28740>