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 "host <ip address>" and
received a host name.  Then I tried "host <host name>" and got a host not
found message.

Since it's not critical that I prevent spoofing in my app, I'm using a
variation of the jndi dns code you pointed out in
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4670102.

Thanks again,
Peter
-- 
View this message in context: 
http://www.nabble.com/enableLookups%3Dtrue%2C-getRemoteHost-returns-ip-tp21696774p21731881.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to