arch-pkgs/bind-adblock/bind-adblock.install

19 lines
334 B
Text
Raw Permalink Normal View History

post_install() {
cat<<EOF
Add BIND options entry:
options {
response-policy {
zone "adblock.rpz"
};
};
Add BIND zone entry:
zone "adblock.rpz" {
type master;
file "/var/named/adblock.rpz";
masterfile-format text;
allow-query { none; };
};
EOF
}