Comment 10 for bug 991308

Revision history for this message
William Lightning (kassah) wrote : Re: DNS Querying fails if any DNS server is unreachable

Yes, it happens with dnsmasq by itself. However it appears that dnsmasq is caching the result, so when it sees a good one it will keep serving it.

Here is some example output from the syslog:

Jun 22 13:42:18 archon dnsmasq[9635]: started, version 2.59 cachesize 150
Jun 22 13:42:18 archon dnsmasq[9635]: compile time options: IPv6 GNU-getopt DBus i18n DHCP TFTP conntrack IDN
Jun 22 13:42:18 archon dnsmasq[9635]: reading /var/run/dnsmasq/resolv.conf
Jun 22 13:42:18 archon dnsmasq[9635]: using nameserver 75.75.76.76#53
Jun 22 13:42:18 archon dnsmasq[9635]: using nameserver 75.75.75.75#53
Jun 22 13:42:18 archon dnsmasq[9635]: read /etc/hosts - 8 addresses
Jun 22 13:42:18 archon dnsmasq[9635]: query[SOA] local from 127.0.0.1
Jun 22 13:42:18 archon dnsmasq[9635]: forwarded local to 75.75.75.75
Jun 22 13:42:18 archon dnsmasq[9635]: forwarded local to 75.75.76.76
Jun 22 13:42:18 archon dnsmasq[9635]: query[SOA] local from 127.0.0.1
Jun 22 13:42:18 archon dnsmasq[9635]: forwarded local to 75.75.75.75
..
Jun 22 13:43:09 archon dnsmasq[9635]: query[A] slashdot.org from 127.0.0.1
Jun 22 13:43:09 archon dnsmasq[9635]: forwarded slashdot.org to 75.75.75.75
Jun 22 13:43:09 archon dnsmasq[9635]: reply slashdot.org is 216.34.181.45
Jun 22 13:43:26 archon dnsmasq[9635]: query[A] slashdot.org from 127.0.0.1
Jun 22 13:43:26 archon dnsmasq[9635]: cached slashdot.org is 216.34.181.45
..
Jun 22 13:46:00 archon dnsmasq[9814]: query[A] gmail.com from 127.0.0.1
Jun 22 13:46:00 archon dnsmasq[9814]: forwarded gmail.com to 75.75.75.75
Jun 22 13:46:00 archon dnsmasq[9814]: forwarded gmail.com to 75.75.76.76
Jun 22 13:46:05 archon dnsmasq[9814]: query[A] gmail.com from 127.0.0.1
Jun 22 13:46:05 archon dnsmasq[9814]: forwarded gmail.com to 75.75.75.75
Jun 22 13:46:05 archon dnsmasq[9814]: forwarded gmail.com to 75.75.76.76
Jun 22 13:46:10 archon dnsmasq[9814]: query[A] gmail.com from 127.0.0.1
Jun 22 13:46:10 archon dnsmasq[9814]: forwarded gmail.com to 75.75.75.75
Jun 22 13:46:10 archon dnsmasq[9814]: forwarded gmail.com to 75.75.76.76

the last was generated by dig @localhost gmail.com