stephenwilde
asked on
whois changed info from whois.internic.net
I have some code which looks up whois record for .com and extracted Regsitrar info from result from whois.internic.net query and then could do a whois lookup from the registry for full record
BUT they response coming back from whois.internic.net no longer has Registrar information
I have searched and only found a reference to "shared database registry" but cannot find which server to use to get me the registrar details so I can do a detailed look up - any help?
Rgds
Stephen
BUT they response coming back from whois.internic.net no longer has Registrar information
I have searched and only found a reference to "shared database registry" but cannot find which server to use to get me the registrar details so I can do a detailed look up - any help?
Rgds
Stephen
string cDomain = txtbox.txt ;
// thanks to http://www.sitepoint.com/article/build-whois-lookup-asp-net
TcpClient objTCPC = new TcpClient();
objTCPC.Connect("whois.internic.net", 43);
string strDomain = cDomain + "\r\n";
byte[] arrDomain = Encoding.ASCII.GetBytes(strDomain);
Stream objStream = objTCPC.GetStream();
objStream.Write(arrDomain, 0, strDomain.Length);
StreamReader objSr = new StreamReader
(objTCPC.GetStream(), Encoding.ASCII);
string strServerResponse = objSr.ReadToEnd();
strServerResponse = Regex.Replace(strServerResponse, "\n", "<br>");
objTCPC.Close();
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
whois.crsnic.net
but there was a problem with an individual domain (lawyer.com) that still didnt give enough information to find Registrar but some other whois sites also could not get the correct information
but some did - I would still love to know how they got the registrar information even though it was not on whois record?