personal-dns/named.conf
Knut Ahlers ed3c4cc1fa
Replace Coredns magic with bind response-policy
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-08-25 16:40:40 +02:00

20 lines
341 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";
};
zone "blacklist" {
type master;
file "/etc/bind/named.blacklist";
allow-query { none; };
};
include "/etc/bind/named.stubs";