Este é um trabalho para o recurso de vincular RPZ, consulte: link
Domain Name Service Response Policy Zones (DNS RPZ) is a method that allows a nameserver administrator to overlay custom information on top of the global DNS to provide alternate responses to queries. It is currently implemented in the ISC BIND nameserver (9.8 or later). Another generic name for the DNS RPZ functionality is "DNS firewall".
Assim, conforme indicado na documentação que você precisa:
response-policy { zone "badlist"; };
zone "badlist" {type master; file "master/badlist"; allow-query {none;}; };
na sua configuração, e no arquivo "zona" master/badlist
algo como:
$TTL 1H
@ SOA LOCALHOST. named-mgr.example.com (1 1h 15m 30d 2h)
NS LOCALHOST.
www.google.com A 192.168.0.1
www.facebook.com A 192.168.0.1