Subject: Re: DNS (Secondary Server)
To: Terry Norris <tknorris@ameritech.net>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 12/27/2001 08:51:28
On Thu, 27 Dec 2001, Terry Norris wrote:
> Can someone assist me (step-by-step instruction) with settring up a
> Secondary DNS server. Specifically, I need to know what to do to
> initialize/start the server (named) once I have configured
> /etc/namedb/named.conf and the zone file
> /etc/namedb/<domain_name>.com.cache. Did I name the zone file
> correctly? I set up the secondary zone entry in named.conf and
> configured the associated zone file according to the example within
> this file (named.conf). I am running NetBSD 1.5 (which, I believe
> implements BIND 8) and my Primary DNS server is a Windows NT Server
> box.
There was no "named.conf" attached to your message, just nasy HTML.
No matter. There's nothing to configure for a secondary zone file. Since
it's a *secondary*, "named" is going to pull down the file from the
primary. Don't forget to configure a zone for the reverse DNS as well.
Just add `named=YES named_flags=""' to "/etc/rc.conf", execute
"/etc/rc.d/named start", and look in "/var/log/messages" for any errors.
If you have to change something, "/etc/rc.d/named restart" will restart
"named". "/etc/rc.d/named reload" should work, too.
Frederick