Web Hosting Talk







View Full Version : Apache DNS Lookups in Logs vs Wusage


huck
06-07-2001, 10:59 AM
I run Wusage as our statistics program and Apache (of course) as our web server.

I need to know if anyone has real world experience of turing DNS lookup on in Apache so that the logs contain domain names instead of IPs. Wusage can do DNS lookups but this is somewhat slow. Also, for security reasons, I think it would be better to have the IP address vs. a domain name.

Any input or insight appreciated.

magnafix
11-30-2001, 06:21 PM
In your httpd.conf:

# HostnameLookups: Log the names of clients or just their IP addresses
# e.g., www.apache.org (on) or 204.62.129.132 (off).
# The default is off because it'd be overall better for the net if people
# had to knowingly turn this feature on, since enabling it means that
# each client request will result in AT LEAST one lookup request to the
# nameserver.
#
HostnameLookups Off