Tim wrote:
If I do something like "dig google.com", the first results come back
after a while: ;; Query time: 1077 msec
The subsequent results come back much quicker: ;; Query time: 8 msec
The first time you do it you may see something like:
Received 194 bytes from 127.0.0.1#53 in 1291 ms
But if you do it again, and it is working, you should see something on
the order of:
Received 194 bytes from 127.0.0.1#53 in 1 ms
Is it not doing four look-ups; I would think that takes longer?
First look-up:
;; ADDITIONAL SECTION:
ns1.google.com. 172521 IN A 216.239.32.10
ns2.google.com. 172521 IN A 216.239.34.10
ns3.google.com. 172521 IN A 216.239.36.10
ns4.google.com. 172521 IN A 216.239.38.10
;; Query time: 1817 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Aug 22 08:21:19 2006
;; MSG SIZE rcvd: 212
Second look-up:
;; ADDITIONAL SECTION:
ns1.google.com. 172496 IN A 216.239.32.10
ns2.google.com. 172496 IN A 216.239.34.10
ns3.google.com. 172496 IN A 216.239.36.10
ns4.google.com. 172496 IN A 216.239.38.10
;; Query time: 58 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Aug 22 08:21:44 2006
;; MSG SIZE rcvd: 212
However, I never see single digit delays!
BobG