Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 1999 19:10:19 +0200
From:      Barry Irwin <bvi@rucus.ru.ac.za>
To:        Don O'Neil <don@whtech.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Example primary DNS setup
Message-ID:  <19990929191019.F23989@rucus.ru.ac.za>
In-Reply-To: <MOBBIPGJKBNNPGLGMFHFAEOKDFAA.don@whtech.com>
References:  <MOBBIPGJKBNNPGLGMFHFAEOKDFAA.don@whtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue 1999-09-28 (18:31), Don O'Neil wrote:
> Anybody got an example primary and secondary DNS setup they can share with
> me? The DNS stuff has changed dramatically since 2.x (when I last set it up)
> and I just can't quite figure it out. I need to serve up primary dns for my
> domain, and sub-domains.

Bind 8 does contain a namedbootconf.pl script ( think its either that or
something named along those lines) for converting the old boot.conf format
to bind 8 named.conf.

Below is a snippet from my zone file, /etc/namedb contains a pri and sec
directory to make things a little tidier within there ( usefull whin hosting
a couple of zone files))

--snip--

options {
        directory "/etc/namedb";
};

// primary
zone "moria.org" {
        type master;
        file "pri/moria.org";
};

// secondary example with multiple masters
zone "231.146.in-addr.arpa" {
        type slave;
        file "sec/146.231.rev";
        masters {
                146.231.128.1;
                146.231.128.3;
                146.231.128.5;
                146.231.128.8;
        };
};

--snip--

barry

-- 
--------------------------------------------------------------------------
Barry Irwin 				 	IRC:  balin@zanet (#linux)
bvi@moria.org  					http://rucus.ru.ac.za/~bvi
Whois BI414		- PMPN8EZ -		http://moria.org
--------------------------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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