Re: enableLookups=true, getRemoteHost returns ip

2009-01-29 Thread otismo
Thanks, Konstantin, for the thorough response! I was failing to grasp that the forward lookup portion of the method was failing because there was no forward dns mapping. I thought it was failing locally inside the java code, not in the dns system. To confirm the lack of a dns mapping, I used

Re: enableLookups=true, getRemoteHost returns ip

2009-01-28 Thread Konstantin Kolinko
2009/1/28 otismo : > > I'm struggling to get enableLookups to work on a new Ubuntu 8.10 tomcat > 6.0.18 install. Calls to httpServletRequest.getHostName() always return the > IP, instead of the host name. I set the access log to resolve hosts and it > also shows the ip. > > Tomcat 6.0.18 and the