File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Lookup Domain Name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Lookup Domain Name" Watch "Lookup Domain Name" New topic
Author

Lookup Domain Name

Anne Drew
Greenhorn

Joined: May 29, 2002
Posts: 6
How do I lookup a Domain Name to ensure that it exists?
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
try to get IP address using java.net package...
if u find one then the domain is there else not.
this would only work if u have the url having full host name (not just like .abc.com but u shd have www.abc.com)...
regards
maulin
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Lookup Domain Name