Mailinglist Archive: opensuse (1420 mails)

< Previous Next >
Re: [opensuse] optimizing resolv.conf
On 2014-01-05 00:33, David C. Rankin wrote:

;; Query time: 2 msec

Let's see on my network. Using the router:

Elessar:~ # time host trinitydesktop.org 192.168.1.1
Using domain server:
Name: 192.168.1.1
Address: 192.168.1.1#53
Aliases:

trinitydesktop.org has address 108.166.152.50

real 0m1.469s
user 0m0.006s
sys 0m0.004s
Elessar:~ #

More attempts:

real 0m0.481s
real 0m0.721s

Now, letting dnsmasq work:

Elessar:~ # time host trinitydesktop.org
real 0m1.175s
real 0m0.075s
real 0m0.302s
real 0m0.072s
real 0m0.076s
real 0m0.176s


So it appears my router does a lousy job, it does not cache anything, it seems. It asks my ISP, then, and my ISP takes about a second to answer. Google is not better:


Elessar:~ # time host trinitydesktop.org 8.8.8.8

real 0m1.163s
real 0m0.858s
real 0m0.475s


OpenDNS:

Elessar:~ # time host trinitydesktop.org 208.67.220.220
real 0m1.011s
real 0m0.337s


you see, for me a local cache on my machine does a big, big, advantage, because any external DNS query takes about a second with my ISP.




--
Cheers,
Carlos E. R.
(from 13.1 x86_64 "Bottle" (Elessar))
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups