Friday, June 17, 2016

domain name system - DNSMasq is slower than my ISP at returning cached DNS entries.

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?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...