Last change
on this file since 2741 was
2358,
checked in by andersk, 12 years ago
|
/etc/named.conf: Add stub zones for mit.edu and 18.in-addr.arpa
|
File size:
1.2 KB
|
Line | |
---|
1 | // |
---|
2 | // named.conf |
---|
3 | // |
---|
4 | // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS |
---|
5 | // server as a caching only nameserver (as a localhost DNS resolver only). |
---|
6 | // |
---|
7 | // See /usr/share/doc/bind*/sample/ for example named configuration files. |
---|
8 | // |
---|
9 | |
---|
10 | options { |
---|
11 | listen-on port 53 { 127.0.0.1; }; |
---|
12 | listen-on-v6 port 53 { ::1; }; |
---|
13 | directory "/var/named"; |
---|
14 | dump-file "/var/named/data/cache_dump.db"; |
---|
15 | statistics-file "/var/named/data/named_stats.txt"; |
---|
16 | memstatistics-file "/var/named/data/named_mem_stats.txt"; |
---|
17 | allow-query { localhost; }; |
---|
18 | recursion yes; |
---|
19 | #dnssec-enable yes; |
---|
20 | #dnssec-validation yes; |
---|
21 | #dnssec-lookaside . trust-anchor dlv.isc.org.; |
---|
22 | }; |
---|
23 | |
---|
24 | logging { |
---|
25 | channel default_debug { |
---|
26 | file "data/named.run"; |
---|
27 | severity dynamic; |
---|
28 | }; |
---|
29 | }; |
---|
30 | |
---|
31 | zone "." IN { |
---|
32 | type hint; |
---|
33 | file "named.ca"; |
---|
34 | }; |
---|
35 | |
---|
36 | zone "mit.edu" IN { |
---|
37 | type stub; |
---|
38 | masters {18.70.0.160; 18.71.0.151; 18.72.0.3;}; |
---|
39 | file "slaves/mit.edu.stub"; |
---|
40 | }; |
---|
41 | |
---|
42 | zone "18.in-addr.arpa" IN { |
---|
43 | type stub; |
---|
44 | masters {18.70.0.160; 18.71.0.151; 18.72.0.3;}; |
---|
45 | file "slaves/18.in-addr.arpa.stub"; |
---|
46 | }; |
---|
47 | |
---|
48 | include "/etc/named.rfc1912.zones"; |
---|
49 | |
---|
50 | #include "/etc/pki/dnssec-keys//named.dnssec.keys"; |
---|
51 | #include "/etc/pki/dnssec-keys//dlv/dlv.isc.org.conf"; |
---|
Note: See
TracBrowser
for help on using the repository browser.