Name

HostNameLookups

Synopsis

HostNameLookups on|off|double

Description

[server config, within <VirtualHost> or <Directory>]

Enables whether the server should perform hostname lookups on clients instead of simply recording the IP address in the connection logs. If the double option is specified, the server performs a forward and reverse DNS lookup; this ensures that the client hostname maps to its IP, as well as the IP mapping to the DNS name. The double option is available only in Apache 1.3. The default with Apache 1.2 and below is on, while the default with Apache 1.3 is off.

(All; double option in Apache 1.3 or above)

Get Webmaster in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.