[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Which DNS query is causing delays
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Which DNS query is causing delays
- From: Henrik "Størner" <henrik (at) hswn.dk>
- Date: Mon, 12 Oct 2009 20:01:47 +0000 (UTC)
- Newsgroups: lists.hobbit
- Organization: Linux Users Inc.
- References: <havflo$br1$1 (at) voodoo.hswn.dk> <1F7B01020EC4D04DA17703634B9E888E0E7EFDF2 (at) ULPGCTMVMAI003.EU.COLT> <1F7B01020EC4D04DA17703634B9E888E0A01CCD1 (at) ULPGCTMVMAI003.EU.COLT> <han6kv$cqd$1 (at) voodoo.hswn.dk> <1F7B01020EC4D04DA17703634B9E888E0E7EFDF2 (at) ULPGCTMVMAI003.EU.COLT> <1F7B01020EC4D04DA17703634B9E888E0E96BE8B (at) ULPGCTMVMAI003.EU.COLT> <havflo$br1$1 (at) voodoo.hswn.dk> <1F7B01020EC4D04DA17703634B9E888E0E96BEFE (at) ULPGCTMVMAI003.EU.COLT>
- User-agent: nn/6.7.3
In <1F7B01020EC4D04DA17703634B9E888E0E96BEFE (at) ULPGCTMVMAI003.EU.COLT> "Ward, Martin" <Martin.Ward (at) colt.net> writes:
>> It will only log those DNS lookups that fail, not those that succeed.
>OK, so it now seems likely that all the DNS tests are working, they are jus=
>t taking a very long time to do it, so the question is: Is there an easy wa=
>y to get the DNS resolving times for all my Xymon DNS queries without havin=
>g to view every web page?
The only way I can think of would be to run bbtest-net with the "--debug"
option; that will log lines like (from the demo site):
2009-10-12 21:57:50 Adding hostname 'wifi.hswn.dk' to resolver queue
2009-10-12 21:57:50 Adding hostname 'mail.hswn.dk' to resolver queue
2009-10-12 21:57:50 Adding hostname 'www.hswn.dk' to resolver queue
2009-10-12 21:57:50 Adding hostname 'webmail.hswn.dk' to resolver queue
2009-10-12 21:57:50 Adding hostname 'news.hswn.dk' to resolver queue
2009-10-12 21:57:50 Processing 13 DNS lookups with ARES
2009-10-12 21:57:50 Got DNS result for host wifi.hswn.dk : 172.16.11.1
2009-10-12 21:57:50 Got DNS result for host mail.hswn.dk : 172.16.10.2
which shows that my DNS lookups take less than a second. You have to
do the subtraction manually to get the time spent on each lookup,
but it should still be fairly easy to spot those that are slow.
Regards,
Henrik