You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/07/22 15:44:13 UTC

DO NOT REPLY [Bug 30259] New: - When proxy connects to backend, a DNS lookup is done every time. Investigate a DNS cache

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30259>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30259

When proxy connects to backend, a DNS lookup is done every time. Investigate a DNS cache

           Summary: When proxy connects to backend, a DNS lookup is done
                    every time. Investigate a DNS cache
           Product: Apache httpd-2.0
           Version: 2.0-HEAD
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: minfrin@apache.org


When proxy_http (and I assume the other proxy modules) make a connection to the
backend, a DNS lookup is potentially performed for each request.

A simple DNS cache, flushed on server graceful restart, should improve
performance here.

To make this configurable, a timeout should be set as to the age of the entires
in the cache, 0 meaning "don't cache". A typical value might be 1 minute or so -
short enough so that admins who change the IP in DNS and then don't see the
change in their httpd installation won't be sent on a wild goose chase, but long
enough to make a significant difference to performance.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org