tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Wall" <dw...@myEastside.com>
Subject Remove DNS lookup
Date Fri, 06 Jul 2001 03:35:55 GMT
Is there a class that can do a reverse DNS lookup, giving me the hostname
that matches a given IP address?  I'm able to retrieve the IP address of an
HTTP request just fine using request.getRemoteAddr() (and getRemoteHost()
returns the same IP address dotted numbers), but the java.net package
doesn't seem to have
anything that returns a name based on an IP address, unless I'm just
misreading InetAddress...

David


Mime
View raw message