开发者

Creating domain name checker [closed]

开发者 https://www.devze.com 2023-01-23 02:00 出处:网络
Closed. This question needs to be more focused. It is not currently accepting answers. 开发者_如何学JAVA
Closed. This question needs to be more focused. It is not currently accepting answers. 开发者_如何学JAVA

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 3 years ago.

Improve this question

I wonder how to make a domain name checker (testing for availability) for top-level domains?

Eg. to check if the domain: stackoverflow.com or stackoverflow.dk is available or not.

Do I need to be subscribed to a service to do this, or is there some simple magic behind such test?

Thanks


You need to do a WHOIS lookup - see http://www.aspdev.org/articles/build-whois-lookup-asp.net/


It seems there is a protocol for this check "A Domain Availability Check". I am not sure if this is only for the german .de domains or for all domains. Maybe this will help you a little bit.


Your best bet would be to create a webRequest object to fire off a whois request. You can then parse the results from the HTML using regex. I've done this on a number of occasions and it works well (providing the underlying website doesn't change)


an helpfullweb service client http://www.whoislookup.be/wswhois/wswhois.asmx

referance

http://www.whoislookup.be/using-an-webservice-to-access-whois-search.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消