[Dnsmasq-discuss] [RFC] dns: add option to ban domains
wkitty42 at gmail.com
wkitty42 at gmail.com
Tue Aug 8 03:26:35 BST 2017
On 08/07/2017 06:02 PM, Matteo Croce wrote:
> I propose adding an option to allow banning some domains.
>
> add `--ban-hosts' which accepts a file name which contains a list of
> domains to block, one per line.
> Domains are blocked by simply returning NXDOMAIN.
is the following in dnsmasq.conf broken???
# 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