162454955244c699e94d2690b6ab63c035e92bfa
[packages.git] / net / bind / files / bind / named.conf.example
1 // This is the primary configuration file for the BIND DNS server named.
2
3 options {
4         directory "/tmp";
5
6         // If your ISP provided one or more IP addresses for stable 
7         // nameservers, you probably want to use them as forwarders.  
8         // Uncomment the following block, and insert the addresses replacing 
9         // the all-0's placeholder.
10
11         // forwarders {
12         //      0.0.0.0;
13         // };
14
15         auth-nxdomain no;    # conform to RFC1035
16 };
17
18 // prime the server with knowledge of the root servers
19 zone "." {
20         type hint;
21         file "/etc/bind/db.root";
22 };
23
24 // be authoritative for the localhost forward and reverse zones, and for
25 // broadcast zones as per RFC 1912
26
27 zone "localhost" {
28         type master;
29         file "/etc/bind/db.local";
30 };
31
32 zone "127.in-addr.arpa" {
33         type master;
34         file "/etc/bind/db.127";
35 };
36
37 zone "0.in-addr.arpa" {
38         type master;
39         file "/etc/bind/db.0";
40 };
41
42 zone "255.in-addr.arpa" {
43         type master;
44         file "/etc/bind/db.255";
45 };