LinuxSysAdmin

Things I don't want to look for twice..

Monthly Archives: March 2014

Apache disable reverse DNS lookups

So, I had this annoying problem with Apache logging reverse DNS instead of client IP. The only explanation I could find is this one:

http://www.leaseweblabs.com/2013/05/turn-off-reverse-dns-lookups-for-apache-access-logging/

So, when using IP based access lists, instead of:

Allow from 10.0.0.1 # my IP address

Use:

# my IP address
Allow from 10.0.0.1

It took me a while to find..