PDA

View Full Version : BIND 9 configuration problem for split DNS


chipsafts
9th November 2007, 08:13
I'm having a problem setting up a 'two-in-one' DNS for our company , running BIND9.2

the named.conf file has in it:

zone "." {
type hint;
file "named.cache";
};

zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "ourcompany.local";
};

zone "2.22.6.IN-ADDR.ARPA" {
type master;
file "ourcompany.rev";
};

zone "ourcompany.com" {
type master;
file "bftx";
also-notify {
2.111.65.2;
2.171.16.2;
2.171.9.2;
};
};

view "internal" {
match-clients { internals; };
zone "bftx.com" {
type master;
file "/var/named/bftx.local";
};
};


Why is it bombing with an error of :
"when using 'view' statements, all zones must be in views"

when it hits the view section ?