[Dnsmasq-discuss] DNS whitelist
Craig McQueen
craig.mcqueen at beamcommunications.com
Wed Sep 3 07:32:31 BST 2014
I'd like to use dnsmasq to do a DNS whitelist. That is, I want to block
almost all DNS queries, but allow domains in a small whitelist to be
forwarded through to the upstream server (specified in the resolv file).
I've seen people doing a whitelist with dnsmasq by:
* Using 'no-resolv' option to block most DNS queries.
* Using an explicit 'server' option to specify the DNS server for
permitted domains.
But that won't work for me, because I need to use the resolv file
mechanism to get the upstream DNS server.
Any suggestions?
Thanks,
Craig McQueen
More information about the Dnsmasq-discuss
mailing list