]>
Commit | Line | Data |
---|---|---|
6b7ae77d | 1 | // This is an exaple configuration file for named ( /etc/named.conf ) |
6b7ae77d AG |
2 | |
3 | options { | |
4 | directory "/"; | |
5 | pid-file "named.pid"; | |
6 | auth-nxdomain yes; | |
7 | datasize default; | |
8 | // Uncoment these to enable IPv6 connections support | |
9 | // IPv4 will still work | |
10 | // listen-on { none; }; | |
11 | // listen-on-v6 { any; }; | |
e54964a9 | 12 | |
93b9b6d6 | 13 | #dnssec-enable yes; # enable DNSSEC, default yes |
14 | dnssec-validation auto; # enable DNSSEC validation with the key from bind.keys | |
6b7ae77d AG |
15 | }; |
16 | ||
17 | zone "localhost" IN { | |
18 | type master; | |
19 | file "M/localhost.zone"; | |
20 | allow-update { none; }; | |
21 | allow-transfer { any; }; | |
22 | }; | |
23 | ||
24 | zone "0.0.127.in-addr.arpa" IN { | |
25 | type master; | |
26 | file "M/127.0.0.zone"; | |
27 | allow-update { none; }; | |
28 | allow-transfer { any; }; | |
29 | }; | |
30 | ||
31 | zone "." IN { | |
32 | type hint; | |
33 | file "root.hint"; | |
34 | }; | |
35 | ||
36 | //zone "pld-linux.org" IN { | |
37 | // type slave; | |
38 | // file "S/pld-linux.org.zone"; | |
39 | // masters { | |
40 | // 195.116.211.3; | |
41 | // }; | |
42 | // allow-query { any; }; | |
43 | // allow-transfer { any; }; | |
44 | //}; | |
45 | ||
46 | logging { | |
47 | channel xfer-log { | |
48 | file "named.log"; | |
49 | print-category yes; | |
50 | print-severity yes; | |
51 | print-time yes; | |
52 | severity info; | |
53 | }; | |
54 | category xfer-in { xfer-log; }; | |
55 | category xfer-out { xfer-log; }; | |
56 | category notify { xfer-log; }; | |
57 | }; |