DNS reverse lookpup in asp.net

  • Thread starter Thread starter shen.chang.cs
  • Start date Start date
S

shen.chang.cs

Hi all

Anyone knows how to do a DNS reverse lookup by C# .NET code behind?

thanks
 
Dns.GetHostByName(....) in ( .NET 1.1 )
and Dns.GetHostEntry(...) in ( .NET 2.0 )
 
thanks, I find this also works:
IPHostEntry ipEntry = Dns.Resolve(ip);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top