March 20, 2007
DNS Latency
We have tools to track latency across networks. You give it an IP address or hostname, it pings it periodically and displays the results on a pretty graph. Easy to understand, easy to use!
Why is there not an application that does the same thing but for DNS Queries? It would be a script or a compiled binary that performs a few basic functions:
- Allows you specify a few different name servers to query and a query rate. (Time Interval)
- Also allows you to specify domains to query for, and/or random domains. (Random domains pulled from google or some other method)
- Logs all the results into a database or other file format for records and analysis.
- Graphing of the response time of your specified name servers.
Seems like it would be pretty simple and common place, but I am having a hard time find such an application. I see plenty of stuff for statistics of the DNS server itself, (i.e. CPU usage, memory usage, queries per second and so on) but none for a client to measure DNS performance.
I did find one project out there called DNS Tester over at CodeProject.com. It is pretty basic, but it would at least show everyday users how DNS latency would affect them when they are browsing the web. Not all name servers are created equal.
So while I continue my search for an application that performs this function, I have tasked my Wireshark install to watch my DNS traffic for me. I have it set with the following capture filter:
port 53 and (host (primary name server ip) or host (secondary name server ip))
And then within these results, I have a display filter to further filter what I am looking for:
dns.time > .5
With these two filters, I am looking at any DNS traffic between my network and my ISPs name servers. And then I am specifically looking for DNS responses that take longer than .5 seconds to complete. It works, and I can compute my own statistics based on my data collection.
But it still is not as pretty as a graph.
Filed by RawCode at 3:34 am under Networking
Comments Off
1 Comment