: I'm setting up a caching-only nameserver with BIND9. Some questions: is
: there documentation that covers _BIND 9_, as everything I've found so far,
: has different sections concerning 4, 8, and 9. Also, is there something
: wrong with my named.conf file (the following having been written by
: following to the letter (I hope) the documentation in ../doc/arm in the
: source directory...
: // $FreeBSD: src/etc/namedb/named.conf,v 1.6.2.4 2001/12/05 22:10:12 cjc Exp $
: acl "voute.net" { 192.168.0/24; };
: options {
: directory "/etc/namedb";
: pid-file "named.pid";
: allow-query { "voute.net"; };
: };
This }; is misplaced, forwarders should be inside options.
: forwarders {
: 212.198.0.91;
: 212.198.2.51;
: };
: zone "." {
: type hint;
: file "named.root";
: };
: zone "0.0.127.IN-ADDR.ARPA" {
: type master;
: file "localhost.rev";
: };
: zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT" {
: type master;
: file "localhost.rev";
: };
: When I run named-checkconf, I get 'unknown option "forwarders"'. :-(
: Also, when I start it with /usr/sbin/named, the logs say fatal error, as
: there is no such file as /etc/named.conf. Erm, yes, but the file should be
: '/etc/namedb/named.conf'. Why is it still looking for a file in /etc ?
It seems to me that you are mixing bind8 and bind9. If you install bind9
from ports, it should read its named.conf from /usr/local/etc. If you have
directly compiled the source, indeed it will probably check in /etc.
: Thanks.
--
Michel TALON