aspose 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


Win a copy of Java 8 in Action this week in the Java 8 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Lookup Domain Name
 
Similar Threads
question about getConnection(usr,pwd)
Looking Up a Home Object
Hibernate and Container Managed Transaction
hostname from ip address
domain validation