[CentOS] Slow DNS lookups on CentOS6

Tue Sep 27 18:08:53 UTC 2011
Les Mikesell <lesmikesell at gmail.com>

On Tue, Sep 27, 2011 at 1:02 PM, Alfred von Campe <alfred at von-campe.com> wrote:
>
>> Why do you think dnscache won't help?  Caching is not restricted to your local
>> domain.
>
> I guess I forgot to mention that only the first query is slow.  If you repeat
> the query, the response is fast, so it's already being cached somewhere.  I
> always assumed that's how DNS worked.  So in order to test this "slowness", I
> have to keep thinking of domains to look up.

DNS servers normally do cache, but clients don't.  Are you running
named locally on each machine and pointing resolv.conf to localhost?
It wouldn't make much sense for a central DNS server to act
differently depending on whether a c5 or c6 client was first to ask
for a name lookup.

-- 
  Les Mikesell
    lesmikesell at gmail.com