Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

whois changed info from whois.internic.net

Avatar of stephenwilde
stephenwilde asked on
MiscellaneousWeb ServersASP.NET
2 Comments1 Solution303 ViewsLast Modified:
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
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
Avatar of aibusinesssolutions
aibusinesssolutionsFlag of United States of America image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answers