I use dnsmasq as a whitelist on my network. My dnsmasq.conf file looks like this:
bogus-priv
domain-needed
no-resolv
server=/stackexchange.com/8.8.8.8
#etc...
I would like to be able to block a subdomain, for example:
server=/meta.stackexchange.com/0.0.0.0
I also tried:
address=/meta.stackexchange.com/0.0.0.0
And for both I tried substituting 127.0.0.1 for 0.0.0.0.
Unfortunately this doesn't seem to work. How can I block a specific subdomain while allowing the rest of the domain in the config file?