[IOML] Bind 9..

Dylan Smith dyls at dylansmith.co.im
Wed May 7 12:20:01 2003


On Wed, 7 May 2003, Hall, Chris wrote:

Gosh, a Govt. ISD person who runs Linux. I thought ISD had banned any
thoughts of non-Microsoft things by now <g>

Anyway...

> What was wrong with Bind 8 - it worked ok for me!!!!

When I upgraded to bind9 many moons ago, I discovered that there were
subtle changes in /etc/named.conf. Also, I think it enforces the relevant
RFCs for the zone files harder. The subtle changes in /etc/named.conf
which affected me was greater strictness on what things had to be ended
with a ;

IIRC, this would work with BIND 8

zone "foo.com" {
   type slave;
   masters { 216.40.247.23 } ;
   file "foo.com";
};

but choke in BIND 9.
In BIND 9, you need a semicolon after the IP address between the
curly braces. There's probably a few other subtle gotchas due to BIND 9
doing a stricter job at syntax checking.

A good place to check is /var/log/messages if you're getting weirdness.
BIND will report things it doesn't like there (I fixed my problems that
way).

/var/log/messages is your friend in these cases.

-- 
Dylan Smith, Castletown, Isle of Man      | Code fast, crash young and
Flying: http://www.dylansmith.net         | leave a beautiful core.
FFE/Elite Universe: http://www.alioth.net |             -- JK (#afe)