Re:Adsuck – a small DNS server that spoofs blacklisted addre...
by egwynn on Sunday November 22, 2015 @06:48PM
(#10612041)
Only just followed up on this thread. Yes. My dnsmasq.conf contains:
servers-file=/usr/local/etc/dnsmasq-servers.conf
and then that file contains a lot of lines like: server=/taboola.com/
The docs don’t tell you that this results in NXDOMAIN for the server whose IP you didn’t specify. It seems to work!
Re:Adsuck – a small DNS server that spoofs blacklisted addre...
by jakeogh on Thursday December 03, 2015 @03:41AM
(#10668550)
Much better! Fixed: https://github.com/jakeogh/dnsgate/commit/62bfa78ac27586d048...
from man dnsmasq:
Is there another way to get dnsmasq to return NXDOMAIN? If I am reading this correctly, one would need to do 'dnsgate --dest-ip 127.2.2.2' and then tell dnsmasq '--bogus-nxdomain=127.2.2.2'.