I have DNSMasq set up on a relatively idle Pentium D 3.4Ghz Debian Linux machine. When I run dig queries locally, the second result is always 0 ms. When I run dig queries on any other machine on my network, the cached response time is a constant 35ms. This is in spite of the fact that I get LAN ping times back -- under 1ms.
Using DNS Benchmark, I ran a test that shows I can hit my ISP's DNS servers faster than my own for cached queries.
How am I accruing 35ms on cached DNS responses for remote queries but <1ms for local queries at the server's command prompt?