> The only place Tomcat should be doing the DNS lookup is if you actually
call
> request.getRemoteHost() anywhere -- at least, that is the way that the
original
> code worked. If you only call request.getRemoteAddr(), or you never call
either
> of them, then the DNS lookup is not necessary.
>
> NOTE: It looks like the default access log valve is doing remote host
lookups
> :-(. You might try commenting that out of your server.xml file.
The logger was one of my primary suspects, along with the connector (of
course). I noticed it was logging the host names in the log.
Should we try to log only the IP address instead of trying to get the fully
qualified name of the host (which is quite convinient, since it makes the
log easier to read). Or maybe we could add a a parameter to configure the
logger to enable / disable host resolution.
Remy