wok view bind/stuff/etc/bind/named.conf @ rev 13629

Up: slitaz-tools (5.1) - Bunch of new stuff and fixes from the contributors community
author Christophe Lincoln <pankso@slitaz.org>
date Wed Nov 14 21:48:16 2012 +0100 (2012-11-14)
parents
children
line source
1 // This is the primary configuration file for the BIND DNS server named.
2 //
3 // If you are just adding zones, please do that in /etc/bind/named.conf.local
5 include "/etc/bind/named.conf.options";
7 // Allow control by rndc tool
8 include "/etc/bind/rndc.key";
9 controls {
10 inet 127.0.0.1 port 953 allow { any; } keys { "rndc-key"; };
11 };
13 // prime the server with knowledge of the root servers
14 zone "." {
15 type hint;
16 file "/etc/bind/db.root";
17 };
19 // be authoritative for the localhost forward and reverse zones, and for
20 // broadcast zones as per RFC 1912
22 zone "localhost" {
23 type master;
24 file "/etc/bind/db.local";
25 };
27 zone "127.in-addr.arpa" {
28 type master;
29 file "/etc/bind/db.127";
30 };
32 zone "0.in-addr.arpa" {
33 type master;
34 file "/etc/bind/db.0";
35 };
37 zone "255.in-addr.arpa" {
38 type master;
39 file "/etc/bind/db.255";
40 };
42 // zone "com" { type delegation-only; };
43 // zone "net" { type delegation-only; };
45 // From the release notes:
46 // Because many of our users are uncomfortable receiving undelegated answers
47 // from root or top level domains, other than a few for whom that behaviour
48 // has been trusted and expected for quite some length of time, we have now
49 // introduced the "root-delegations-only" feature which applies delegation-only
50 // logic to all top level domains, and to the root domain. An exception list
51 // should be specified, including "MUSEUM" and "DE", and any other top level
52 // domains from whom undelegated responses are expected and trusted.
53 // root-delegation-only exclude { "DE"; "MUSEUM"; };
55 include "/etc/bind/named.conf.local";