// This is the primary configuration file for the BIND DNS server named.
|
|
|
|
options {
|
|
directory "/tmp";
|
|
|
|
// 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
|
|
};
|
|
|
|
// prime the server with knowledge of the root servers
|
|
zone "." {
|
|
type hint;
|
|
file "/etc/bind/db.root";
|
|
};
|
|
|
|
// be authoritative for the localhost forward and reverse zones, and for
|
|
// broadcast zones as per RFC 1912
|
|
|
|
zone "localhost" {
|
|
type master;
|
|
file "/etc/bind/db.local";
|
|
};
|
|
|
|
zone "127.in-addr.arpa" {
|
|
type master;
|
|
file "/etc/bind/db.127";
|
|
};
|
|
|
|
zone "0.in-addr.arpa" {
|
|
type master;
|
|
file "/etc/bind/db.0";
|
|
};
|
|
|
|
zone "255.in-addr.arpa" {
|
|
type master;
|
|
file "/etc/bind/db.255";
|
|
};
|