[CentOS] excessive DNS slows httpd

Tue Aug 4 01:23:18 UTC 2009
Les Mikesell <lesmikesell at gmail.com>

Mike -- EMAIL IGNORED wrote:
> On Mon, 03 Aug 2009 20:11:09 -0400, Brian Mathis wrote:
> 
>> What did you revise in your httpd.conf file?  My guess is that you
>> enabled DNS lookups for the connecting clients.
>>
> 
> HostnameLookups Off
> 
> The changes were largely the removal of a lot of common
> code for <Directory>s and <VirtualHost>s to other files
> and the addition of Includes.  I then tightened up some
> <RewriteRule>s and <RewriteCond>s, and added some
> <IfDefine> so I don't have to edit the file as often.
> And I added SSL for one virtual host, and bought a
> certificate.
> 
> Remember -- the httpd configuration and the web data
> itself are exactly the same on both boxes, except
> for the IP addresses.
> 

Are you doing any proxy passthrough's or rewrites resulting in a proxy?  Or 
client access permissions based on hostnames.  These things might be specified 
in a .htaccess file.  Also, remember that all the /etc/httpd/conf.d/*.conf files 
  are included.

-- 
   Les Mikesell
    lesmikesell at gmail.com