]> git.pld-linux.org Git - packages/bind.git/blob - bind-named.conf
Release 3 (by relup.sh)
[packages/bind.git] / bind-named.conf
1 // This is an exaple configuration file for named ( /etc/named.conf ) 
2
3 options {
4         directory "/";
5         pid-file "named.pid";
6         auth-nxdomain yes;
7         datasize default;
8 // For IPv4 and IPv6 uncoment listen-on and listen-on-v6 entries.
9 // Regular DNS
10 //      listen-on { any; };
11 // DNS-over-TLS (DoT)
12 //      listen-on tls ephemeral { any; };
13 // DNS-over-HTTPS (DoH)
14 //      listen-on tls ephemeral http local { any; };
15 //      listen-on-v6 { any; };
16 //      listen-on-v6 tls ephemeral { any; };
17 //      listen-on-v6 tls ephemeral http local { any; };
18
19 //      dnssec-enable yes;      # enable DNSSEC, default yes
20         dnssec-validation auto;  # enable DNSSEC validation with the key from bind.keys
21 };
22
23 http local {
24     endpoints { "/dns-query"; };
25 };
26
27 zone "localhost" IN {
28         type master;
29         file "M/localhost.zone";
30         allow-update { none; };
31         allow-transfer { any; };
32 };
33
34 zone "0.0.127.in-addr.arpa" IN {
35         type master;
36         file "M/127.0.0.zone";
37         allow-update { none; };
38         allow-transfer { any; };
39 };
40
41 zone "." IN {
42         type hint;
43         file "root.hint";
44 };
45
46 //zone "pld-linux.org" IN {
47 //      type slave;
48 //      file "S/pld-linux.org.zone";
49 //      masters {
50 //                  195.116.211.3; 
51 //      };
52 //      allow-query { any; };
53 //      allow-transfer { any; };
54 //};
55
56 logging {
57         channel xfer-log {
58                 file "named.log";
59                 print-category yes;
60                 print-severity yes;
61                 print-time yes;
62                 severity info;
63         };
64         category xfer-in { xfer-log; };
65         category xfer-out { xfer-log; };
66         category notify { xfer-log; };
67 };
This page took 0.045003 seconds and 3 git commands to generate.