source: trunk/etc/alternc/templates/bind/named.conf @ 1003

Revision 1003, 849 bytes checked in by anarcat, 9 years ago (diff)

fix bug #606: don't use fetch-glue since it's deprecated in bind9, which never does it

Line 
1//
2// %%warning_message%%
3//
4acl "internal" {
5        {
6        %%bind_internal%%
7        127.0.0.1;
8        };
9};
10
11include "/var/alternc/bind/slaveip.conf";
12
13options {
14        directory "/var/cache/bind";
15
16        // forwarders {
17        //      0.0.0.0;
18        // };
19        version "Name Server Ready";
20
21        auth-nxdomain no;    # conform to RFC1035
22        allow-query     { "internal"; };
23        allow-transfer  { "allslaves"; };
24        recursion no;
25};
26
27zone "." {
28        type hint;
29        file "/etc/bind/db.root";
30};
31
32zone "localhost" {
33        type master;
34        file "/etc/bind/db.local";
35};
36
37zone "127.in-addr.arpa" {
38        type master;
39        file "/etc/bind/db.127";
40};
41
42zone "0.in-addr.arpa" {
43        type master;
44        file "/etc/bind/db.0";
45};
46
47zone "255.in-addr.arpa" {
48        type master;
49        file "/etc/bind/db.255";
50};
51
52include "/etc/bind/rndc.key";
53
54// add entries for other zones below here
55include "/var/alternc/bind/automatic.conf";
Note: See TracBrowser for help on using the repository browser.