https://bz.apache.org/bugzilla/show_bug.cgi?id=65301

--- Comment #4 from wangmc <wan...@bonree.com> ---
thanks,You're right.

when the system is configured with DNS, getLocalName will attempt to search for
"hostname" using the native IP. This will also use the DNS service, which will
occasionally result in a slow query if the system is not configured with DNS
cache.

You can get the "hostname" efficiently in the simpler way you mentioned,
without the DNS query.

now I have circumvented this problem by installing the NSCD service.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to