This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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