Stone Steps Inc.

Article ID: Q20041208-02

Q: Should I use remote host (%h) or remote address (%a) in my Apache log settings?

A:If HostnameLookups is set to Off, then %h and %a will result in the same output. It is not recommended to turn on DNS lookups on the web server, as it will significantly slow down the server. Stone Steps Webalizer can resolve IP addresses recorded in log files using its own DNS lookup mechanism. See Q20041126-02 for details.