Some time ago, I spent a few nights working on an online tool site. New tools are not available recently. If you need any online tools, you can submit them,
I prefer to be a developer-related tool, and I am not interested in tools like online name checking.
Domain whois data mainly comes from a website that provides domain whois query, because the data queried by this site is more detailed than that of other website services, including the address and phone number of the domain name owner.
However, he does not allow the same IP address to be queried too many times. I never expected this solution.
MainCode:
Public actionresult domainwhois (string domain) {If (! String. isnullorwhitespace (domain) {try {var client = new WebClient (); client. encoding = system. text. utf8encoding. utf8; var html = client. downloadstring (New uri ("http://whois.elmundo.es/whois/cgi/whois.html? Q = "+ domain); var parser = new Parser (New lexer (HTML); var nodes = parser. extractallnodesthatmatch (New tagnamefilter ("TD"); For (VAR I = 0; I <nodes. count; I ++) {var tag = nodes [I] As ITAG; If (tag! = NULL & tag. getattribute ("bgcolor") = "# d0d0d0") {viewbag. result = tag. tohtml (); break ;}} catch {viewbag. result = resources. noresult ;}} return view ();}
The above Code uses the winista. htmlparser component to parse the received HTML code. I think it is very convenient for winista. htmlparser to steal data from any site.
Running result:
Demo: http://tools.susucms.com/Query/DomainWhois? Domain = susucms.com