Bind error

gerwim

Verified User
Joined
May 12, 2006
Messages
11
Hi there,

So without making a backup of my named.conf.options I copied and pasted it from another options file (another server, Debian 5 (lenny)) to Debian 6 (Squeeze).

When trying to start bind it gives me:
Starting domain name service...: bind9 failed!

My named.conf.options (nothing very special):

Code:
options {
        directory "/var/cache/bind";

        // If there is a firewall between you and nameservers you want
        // to talk to, you may need to fix the firewall to allow multiple
        // ports to talk.  See http://www.kb.cert.org/vuls/id/800113

        // If your ISP provided one or more IP addresses for stable
        // nameservers, you probably want to use them as forwarders.
        // Uncomment the following block, and insert the addresses replacing
        // the all-0's placeholder.

        // forwarders {
        //      0.0.0.0;
        // };

        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
}


Can anyone tell me either how to rebuild bind, to fix this or point me out in the right direction?

Thanks in advance!
Gerwim
 
Thanks, using grep named /var/log/syslog I got the error:

/etc/bind/named.conf:10: missing ';' before 'include'


(seemed I needed }; instead of } (last line of the config file)).
 
Back
Top