blob: b416855f2685102db9d97ec567c745d506047dc5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
forwarders { 127.0.0.1 port 55; };
forward only;
dnssec-enable yes;
dnssec-validation auto;
dnssec-lookaside auto;
allow-transfer { "none"; };
allow-query { 127.0.0.1; };
listen-on { 127.0.0.1; };
};
//
// a caching only nameserver config
//
zone "." IN {
type hint;
file "caching-example/named.root";
};
zone "localhost" IN {
type master;
file "caching-example/localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
// RFC 1918. These shouldn't be necessary but empty-zones-enable isn't
// working properly...
zone "10.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "16.172.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "17.172.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "18.172.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "19.172.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "20.172.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "21.172.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "22.172.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "23.172.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "24.172.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "25.172.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "26.172.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "27.172.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "28.172.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "29.172.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "30.172.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "31.172.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "168.192.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
logging {
category edns-disabled { null; };
};
|