DNS latency!!!

Stefan Schmidt zaphodb at zaphods.net
Wed Aug 18 09:31:25 UTC 2010


On Aug 16, 2010, at 11:55 , Yohann Lepage wrote:

> 2010/8/16 Shiva Raman <raman.shivag at gmail.com>
>>   Which is the best method to measure dns latency ? Is there any scripts / programs
>> available to measure the dns latency directly?

I would like to remind people of the most obvious one: dig

sh-4.1$ dig localhost

; <<>> DiG 9.7.1-P2 <<>> localhost
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23311
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;localhost.                     IN      A

;; ANSWER SECTION:
localhost.              86400   IN      A       127.0.0.1

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Aug 18 11:30:12 2010
;; MSG SIZE  rcvd: 43

See the Query time column.

 Stefan


More information about the bind-users mailing list