[Dnsmasq-discuss] domain blacklist API..

wkitty42 at gmail.com wkitty42 at gmail.com
Tue Jul 31 16:23:44 BST 2018


On 07/30/2018 10:43 PM, al so wrote:
> Is there an API to blacklist certain DNS domains which should get resolved?


do you mean blacklist them with NXDOMAIN even though they do exist?

from dnsmasq.conf

# block these domains with NXDOMAIN
server=/example.com/
server=/facebook.com/
server=/fbcdn.net/
server=/fbcdn.com/
server=/facebook.net/



-- 
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list unless*
        *a signed and pre-paid contract is in effect with us.*



More information about the Dnsmasq-discuss mailing list