OK, I'm really confused. I run an Apache 2.2 website on a Mac 10.8.5, and have been doing so for years. I inspect the logs regularly, and I'm careful about service denial in my .htaccess to parties that aren't friendly.
So my logs list IPs. Every once in a while, the log oddly lists a hostname instead of an IP. No big deal. As of the other day, this has changed, for no apparent reason. Now, the majority of my log entries show hostnames, and a few just show IPs. So my system is working hard to look up hostnames for almost everyone!
So I go look in /etc/Apache2/extra/httpd-default.conf, where I find the default
HostnameLookups Off
I go looking around in other conf files to see where there might be a rogue HostnameLookup command, but find none.
So what's is going on? Why is my system looking up hostnames when I'm telling it not to? More to the point, why has it suddenly started doing that? I have not installed any third-party crap, nor have I been doing anything in my conf files. I restarted Apache and rebooted the machine, to no avail.
Now, interestingly, I get several log lines with host names, followed immediately by log lines with just the IP for that hostname. So it's not as if it can't get an IP for that hostname. It just suddenly decides not to.