Some tips when troubleshooting DNS. Windows tools: nslookup google.com Linux tools: dig google.com Check for double DNS servers, named and dnsmasq may conflict and then both want to occupy port 53. netstat -l -n|grep 53 Set the following in /etc/dnsmasq.conf: log-facility=/var/log/dnsmasq.log log-queries A working dnsmasq will pump out every request in this file, like this: Mar 28 11:31:52 dnsmasq: cached safebrowsing-cache.google.com is <CNAME> Mar 28 11:31:52 dnsmasq: cached safebrowsing.cache.l.google.com is 22.214.171.124 Mar 28 11:31:52 dnsmasq: cached safebrowsing.cache.l.google.com is 126.96.36.199 A non-working one is quiet. Use Wireshark to capture dns packages, filter on only dns.
This is a personal note. Last updated: 2014-03-28 11:35:34.