Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Debug dnsmasq by logging its queries
echo 'log-queries' > /etc/dnsmasq.conf
service network-manager restart
tail -f /var/log/syslog

This comment has been minimized.

Copy link

@jbielick jbielick commented Mar 27, 2019

echo 'log-queries' > will overwrite your dnsmasq.conf contents. Are you sure you don't want to simply append with >>?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment