my dog learned polymorphism
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

Lookup Domain Name

Anne Drew

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: 1873
try to get IP address using 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 but u shd have
I agree. Here's the link:
subject: Lookup Domain Name
It's not a secret anymore!