Posted on: 9/3/2013 7:07:36 AM | Views : 1146

Hello I would like to get a host name by using IP address and DNS server ip address. I am not able to get the computer name by using below statement. string[] computer_name = System.Net.Dns.GetHostEntry(Request.ServerVariables["remote_host"]).HostName); Because of my webserver is in one domain and my computer is in another domain, but if i do reverse dns lookup in command prompt with ip address and dns server, then i am able to get the computer name Hence i would like to use the same logic in the c# code. Please help me how to use reverse dns lookup in c# code. ...

Go to the complete details ...