personal-dns/named.conf

21 lines
341 B
Text
Raw Normal View History

2018-05-09 15:23:04 +00:00
options {
directory "/var/bind";
allow-recursion { any; };
allow-transfer { none; };
2018-05-09 15:23:04 +00:00
listen-on port 53 { any; };
response-policy { zone "blacklist"; };
2018-05-09 15:23:04 +00:00
pid-file "/var/run/named/named.pid";
};
zone "blacklist" {
type master;
file "/etc/bind/named.blacklist";
allow-query { none; };
};
2018-05-09 15:23:04 +00:00
include "/etc/bind/named.stubs";