DNS Query Response Time

Barry Margolin barmar at bbnplanet.com
Fri Jul 23 14:19:07 UTC 1999


In article <882567B7.0000FF49.00 at issmail1.infonet.com>,
 <Tai_Nguyen at infonet.com> wrote:
>I would like to know how to get the DNS query response time and log the DNS
>request traffics. Do you have any idea? Thank you in advance.

The "dig" command shows you the response time for that query.

If you want the response time for all queries taking place on your network,
you could run tcpdump.  You can write a Perl or Awk script to correlate
ports and query ID's of queries and responses, and compute the response times.

-- 
Barry Margolin, barmar at bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list