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
Using domain server:
Aliases: has address

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
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

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


Elessar:~ # time host
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.

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