File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes DNS Reverse Lookup??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "DNS Reverse Lookup???" Watch "DNS Reverse Lookup???" New topic
Author

DNS Reverse Lookup???

James wu
Greenhorn

Joined: Feb 20, 2001
Posts: 5
If I have a IP address, say, 216.115.109.6, then how can I get the domain name - www.yahoo.ca in Java.
Thank you very much for any help!
Vladan Radovanovic
Ranch Hand

Joined: Mar 20, 2000
Posts: 216
Did You try getHostName() method of InetAddress class?
That should do it.
Vladan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DNS Reverse Lookup???