How can I disable reverse DNS in Apache 2?
Posted
by
Creighton Hale
on Server Fault
See other posts from Server Fault
or by Creighton Hale
Published on 2012-10-30T11:04:27Z
Indexed on
2012/10/31
11:03 UTC
Read the original article
Hit count: 371
I want to disable reverse DNS in Apache 2. I have done the following steps:
In apache2/apache2.conf file ,HostnameLookups is set as OFF
Tcpdump session confirmed thatApache was doing double reverse lookups even though the HostnameLookupsdirective was clearly turned off.
No hostnames insites-available. The problem still remains.
UPD: version of apache is
dpkg -l | grep apache2
ii apache2-mpm-prefork 2.2.16-6+squeeze4 Apache HTTP Server - traditional non-threaded model
ii apache2-utils 2.2.16-6+squeeze4 utility programs for webservers
ii apache2.2-bin 2.2.16-6+squeeze4 Apache HTTP Server common binary files
ii apache2.2-common 2.2.16-6+squeeze4 Apache HTTP Server common files
apache2 -l
Compiled in modules:
core.c
mod_log_config.c
mod_logio.c
prefork.c
http_core.c
mod_so.c
I think mod_security is not present.
© Server Fault or respective owner