]> git.pld-linux.org Git - packages/bind.git/blame - bind-named.conf
Up to 9.18.25
[packages/bind.git] / bind-named.conf
CommitLineData
6b7ae77d 1// This is an exaple configuration file for named ( /etc/named.conf )
6b7ae77d
AG
2
3options {
4 directory "/";
5 pid-file "named.pid";
6 auth-nxdomain yes;
7 datasize default;
431ca790
AM
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; };
6b7ae77d 15// listen-on-v6 { any; };
431ca790
AM
16// listen-on-v6 tls ephemeral { any; };
17// listen-on-v6 tls ephemeral http local { any; };
e54964a9 18
431ca790 19// dnssec-enable yes; # enable DNSSEC, default yes
93b9b6d6 20 dnssec-validation auto; # enable DNSSEC validation with the key from bind.keys
6b7ae77d
AG
21};
22
431ca790
AM
23http local {
24 endpoints { "/dns-query"; };
25};
26
6b7ae77d
AG
27zone "localhost" IN {
28 type master;
29 file "M/localhost.zone";
30 allow-update { none; };
31 allow-transfer { any; };
32};
33
34zone "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
41zone "." 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
56logging {
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.326349 seconds and 4 git commands to generate.