Name

HostnameLookups — perform hostname lookups (DNS resolving)

SYNOPSIS

No | Yes

DESCRIPTION

The directive specifies whether to perform DNS lookups to resolve remote users' hostname from their IP address. Hostnames are required for some facilities, such as RobotHost (use RobotIP if you want to keep DNS lookups off).

If the web server is configured to perform hostname lookups itself, then this directive should remain disabled.

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive

EXAMPLES

Example: Enabling HostnameLookups

Put the following in interchange.cfg:

HostnameLookups Yes

NOTES

AVAILABILITY

HostnameLookups is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 491

['HostnameLookups',   'yesno',            'No'],

Source: lib/Vend/Config.pm
Line 5434 (context shows lines 5434-5446)

sub parse_yesno {
my($var, $value) = @_;
$_ = $value;
if (m/^y/i || m/^t/i || m/^1/ || m/^on/i) {
  return 1;
}
elsif (m/^n/i || m/^f/i || m/^0/ || m/^of/i) {
  return 0;
}
else {
  config_error("Use 'yes' or 'no' for the $var directive\n");
}
}

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!