From RHEL to CentOS BIND 9

Baird, Josh jbaird at follett.com
Wed Dec 5 19:01:40 UTC 2007


Why are you forwarding to yourself?

Per this configuration, all zone files should be placed within
/var/named/chroot/var/named.  It is not starting because you are missing
zone files.

I really think an introductory book to BIND will help you immensely.  

Josh
-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] On
Behalf Of isplist at logicore.net
Sent: Wednesday, December 05, 2007 12:48 PM
To: bind-users
Subject: Re: From RHEL to CentOS BIND 9

I do see some 192 info I need to remove in there. The server won't start
at 
all.

> What rpm / rpm's did you install.

bind-9.3.3-10.el5

> Can you please post the contents of named.conf

options {
        directory "/var/named";
        dump-file "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        pid-file "/var/run/named/named.pid";
        recursion no;

        forwarders {
                127.0.0.1;
                };
        allow-transfer {
                xx.xx.xx.31;
                };
};

controls {
        inet * port 953 allow {
                127.0.0.1;
                }
        keys {
                rndc-key;
                };

// Note: the following will be supported in a future release.
/*
host { any; } {
        topology {
                127.0.0.0/8;
        };
};

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

zone "0.0.127.IN-ADDR.ARPA" {
        type master;
        file "localhost.rev";
};

zone "domain.com" {
        type slave;
        file "s/domain.com.bak";
        masters {
                192.168.1.1;
        };
};

zone "0.168.192.in-addr.arpa" {
        type slave;
        file "s/0.168.192.in-addr.arpa.bak";
        masters {
                192.168.1.1;
        };
};
*/

zone "xxx.com" {
        type slave;
        file "xxx.com";
        allow-transfer {
                xx.xx.xx.31;
                xx.xx.xx.50;
                common-allow-transfer;
                };
        masters {
                xx.xx.xx.31;
                };
};
zone "67.in-addr.arpa" {
        type master;
        file "67.in-addr.arpa";
        allow-transfer {
                common-allow-transfer;
        };
};
zone "10.98.67.in-addr.arpa" {
        type master;
        file "10.98.67.in-addr.arpa";
        allow-transfer {
                common-allow-transfer;
                };
};
acl common-allow-transfer {
        none;
        };

key rndc-key {
        algorithm hmac-md5;
        secret "xxxxxxxxxxxxxxxxxxxxxxxx";
        };
server xx.xx.xx.31; {
        };


> Can you please post the contents of /etc/sysconfig/named

ROOTDIR=/var/named/chroot






More information about the bind-users mailing list