Checking the domain name is already registered or not
Aravind Prasad
Ranch Hand
Joined: Dec 28, 2005
Posts: 258
posted
0
Dear Ranchers, I'm doing a project in JSP for a domain spacing company. They want their clients to check the domain name they have to register is already registered or not. Please help me how can i do this in JSP page
the form design is
text box : enter the domain name check availability
for egs : if they type www.javaranch.com it has to check and bring it is already available.
Originally posted by John Meyers: Cant they use the internic service ?
Sending your customers to other web sites (internic uses Verisign to query .com and .net TLD's) is not a good business model. Perhaps you could exec an nslookup on the requested domain. If it comes back with a negative result, the domain should be available. There can be issues since there is a delay of several hours between a domain being registered and that registration being propogated through the DNS. I'm not sure how to handle that.