tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Wall" <>
Subject Re: Reverse DNS lookup
Date Fri, 06 Jul 2001 04:02:29 GMT
> InetAddress.getByName(<ip address>).getHostName() will do what you
> want, if the info is available.

Where would the info have to be available?  Is there anything comparable to
a "dig -x" command under Unix?  For most IP addresses, there will not be
anything configured on my computer, but I know that ARPA reverse lookups are

The method you show above still returns the IP address on my system, yet a
"dig -x" will show the host name resolved.


View raw message