https://issues.apache.org/bugzilla/show_bug.cgi?id=51967
Bug #: 51967
Summary: HostnameLookups setting is ignored if hostname is used
as part of allow or deny rule
Product: Apache httpd-2
Version: 2.2.21
Platform: PC
Status: NEW
Severity: normal
Priority: P2
Component: Documentation
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
The documentation should be changed to include the fact that the hostname
lookup will occur regardles of the HostnameLookups setting if checking of allow
/ deny rules uses a domain instead of IP ranges, e.g. Allow from
www.example.org or Deny from example.org
Using a hostname as part of an allow/deny rule can cause a performance hit
because the hostname reverse lookup will occur regardless of the setting of the
HostnameLookups setting.
A related change is a clarification on the log format %h parameter. %h will
return the ip address (like the %a parameter) if HostnameLookups is set to off
(Off is the default). If the log file suddenly begins to show the hostname
instead of the IP address check for an allow/deny rule that uses a hostname as
described above.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]