query time rounding-off in DIG with win2k

Danny Mayer mayer at gis.net
Tue May 14 04:00:31 UTC 2002


At 08:28 AM 5/13/02, Ville wrote:

>Hello,
>I need to compare the reply times I get from different DNS servers,
>but DIG.exe for win2k rounds off the query time to 0 milliseconds,
>1000 milliseconds, 2000 milliseconds and so on. How can I get accurate
>query times, is there a bug in the DIG.exe?

No.  Dig from BIND 8 can only be accurate to microseconds due to the way
that the system time is retrieved.  In BIND 9 it does a better job and gets
the system time in milliseconds.

Try using the Dig from BIND 9.

         Danny
>; <<>> DiG 8.3 <<>> @217.78.192.78 www.helsinginsanomat.fi
>.....
>;; Total query time: 0 msec
>
>or whith GPRS connection
>
>; <<>> DiG 8.3 <<>> @217.78.192.78 www.helsinginsanomat.fi
>........
>;; Total query time: 1000 msec
>
>-Ville



More information about the bind-users mailing list