Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


2.3.57 HostnameLookups

HostnameLookups specifies whether reverse DNS lookup is to be performed to look up host names.

Description

HostnameLookups specifies whether to perform reverse DNS lookup to look up host names to convert the IP address of the environment variable REMOTE_HOST of the CGI and the IP address of a client to be output to the log file, to host names. Note that if you use reverse DNS lookup, responses will be slow.

This directive supports IPv6 addresses.

Syntax

HostnameLookups {On|Off|double}

Specifiable values

On

The IP address is converted to a host name.

Off

The IP address is not converted to a host name.

double

The IP address is converted to a host name. Then, the host name is converted to the IP address again, and then the IP address is checked for whether the IP address is correct.

Default value

If the definition item is omitted:

Off

Locations where it can be written

httpsd.conf, <VirtualHost>, and <Directory>

Example

HostnameLookups Off

The IP address is not converted to a host name.