Domain names instead of IPs in Apache logs

Want domain names instead of IPs in Apache logs? See how the HostnameLookups parameter affects performance and when it's better to disable it for speed.

The HostnameLookups parameter with the On option causes IPs to be translated into domain names. If speed matters to us, the parameter must be disabled, otherwise it will force a DNS lookup for every request