-
-
Save gamersalpha/bf146fc03fb273c373edbcbeb1c050a6 to your computer and use it in GitHub Desktop.
Debug dnsmasq by logging its queries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo 'log-queries' > /etc/dnsmasq.conf | |
service network-manager restart | |
tail -f /var/log/syslog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment