Using dnsmasq to isolate DNS queries

Surveillance

Sometimes I connect to a customer's VPN for work, but I don't want all DNS traffic to go to the customer's nameserver. So I installed and configured dnsmasq to prevent this. I run my own nameserver on my network and connect to it by default so that I can resolve local hostnames, but it isn't a requirement for this method.

Raw
# This is the default nameserver, feel free to use a public instead of a local one
server=10.123.0.1
# These are the nameservers for the bar network, where all hostnames end in bar
server=/bar/10.126.32.5
server=/bar/10.126.32.7

0 comments

Reply

Cancel reply
Markdown. Syntax highlighting with <code lang="php"><?php echo "Hello, world!"; ?></code> etc.
DjangoPythonBitcoinTuxDebianHTML5 badgeSaltStackUpset confused bugMoneyHackerUpset confused bugX.OrggitFirefoxWindowMakerBashIs it worth the time?i3 window managerWagtailContainerIrssiNginxSilenceUse a maskWorldInternet securityPianoFontGnuPGThunderbirdJenkinshome-assistant-logo