[Dnsmasq-discuss] Feature suggest: combine --bogus-nxdomain and --address

Chen Wei weichen302 at icloud.com
Tue Mar 10 04:23:02 GMT 2015


Hi list,

When using dnsmasq to block malware site, the address usually is set to
an valid IP address with a listening webserver, for example:
--address=/malware.com/10.0.0.254

What if combine it with
--bogus-nxdomain=10.0.0.254

So that the DNS record of malware.com is essentially deleted from
network.

The current implementation skips --bogus-nxdomain if the IP is from
--address. This feature will only add few lines of code. What are the
cons to combine --bogus-nxdomain and --address?


-- 
Chen Wei



More information about the Dnsmasq-discuss mailing list