ecometer

Disable Apache's DNS Lookup

(Hosting)
#84

Each time a web server receives an HTTP request, it saves this information in a log, generally translating the user’s IP address into a domain name. This conversion (DNS lookup) is one of the Apache HTTP server’s bottlenecks and should therefore be disabled.

In your Apache server’s configuration file, located at /etc/apache/httpd.conf or /etc/apache2/ apache2.conf, write:

HostnameLookups Off
This best practice should only be applied if it is coherent with your project's specifications.
Under CC-By-NX-SA license