Home All Groups Group Topic Archive Search About

DNS reverse lookpup in asp.net

Author
26 Dec 2005 5:22 PM
shen.chang.cs
Hi all

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

thanks

Author
26 Dec 2005 5:55 PM
Vadym Stetsyak
Dns.GetHostByName(....) in ( .NET 1.1 )
and Dns.GetHostEntry(...) in ( .NET 2.0 )

--
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com

<shen.chang***@gmail.com> wrote in message
Show quote
news:1135617774.183149.97920@g14g2000cwa.googlegroups.com...
> Hi all
>
> Anyone knows how to do a DNS reverse lookup by C# .NET code behind?
>
> thanks
>
Author
26 Dec 2005 8:01 PM
shen.chang.cs
thanks, I find this also works:
IPHostEntry ipEntry = Dns.Resolve(ip);

AddThis Social Bookmark Button