Skip to content

Instantly share code, notes, and snippets.

@gamersalpha
Forked from shuhaowu/debug-dnsmasq.sh
Created January 2, 2018 21:01
Show Gist options
  • Save gamersalpha/bf146fc03fb273c373edbcbeb1c050a6 to your computer and use it in GitHub Desktop.
Save gamersalpha/bf146fc03fb273c373edbcbeb1c050a6 to your computer and use it in GitHub Desktop.
Debug dnsmasq by logging its queries
#!/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