personal-dns/named.conf
Knut Ahlers 96a4969fb9
Enable querylog
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-09-03 10:32:17 +02:00

22 lines
358 B
Text

options {
directory "/var/bind";
allow-recursion { any; };
allow-transfer { none; };
listen-on port 53 { any; };
response-policy { zone "blacklist"; };
pid-file "/var/run/named/named.pid";
querylog yes;
};
zone "blacklist" {
type master;
file "/etc/bind/named.blacklist";
allow-query { none; };
};
include "/etc/bind/named.stubs";