[CentOS] differences in DNS between boxes

Mike -- EMAIL IGNORED m_d_berger_1900 at yahoo.com
Tue Aug 4 23:13:47 UTC 2009


On Tue, 04 Aug 2009 17:23:04 -0500, Les Mikesell wrote:

> Mike -- EMAIL IGNORED wrote:
>> On Tue, 04 Aug 2009 21:31:22 +0200, Kai Schaetzl wrote:
>> 
[...]
>> 
>> Until now, for a long time, mine wasn't doing it either.
>> 
>> Part of the problem was suggested by someone on the Apache group; there
>> are two problems:
>> 
>> 1. Both boxes have nscd, but it was not running on the CentOS
>>    box.  Now that I fixed that, all but the first connection are rapid,
>>    as you might expect.
>> 
>> 2. We still do not why the change in httpd.conf caused the
>>    problem to appear.  However, my belief that there was a difference
>>    between the two machines is accounted for by the difference in
>>    /etc/init.d/nscd . When I tried it for the first time this morning,
>>    the box that previously been fast was slow.  No doubt, the nscd
>>    storage had timed out.
>> 
>> Except that nscd was not set to run, it is probably not specifically a
>> CentOS problem.  Perhaps I made a wrong choice in setup?
> 
> If I really want to know what is different between two boxes, I'll do
> something like NFS mount one into the other or rsync their /etc trees
> somewhere on a common host and let diff -r walk through them.


As indicated above, I already know the difference between the two boxes.

> 
> Are you sure this isn't as simple as having (and using, check your
> resolv.conf) a caching name server running on one box so most lookups
> are resolved locally while the other is making the query to something
> slow?

resolve.config is the same on the two boxes.

Mike.





More information about the CentOS mailing list