Edit my previous answer. Try it (at vb.net):
Dim sTmp As String Dim ip As IPHostEntry sTmp = MaskedTextBox1.Text Dim ipAddr As IPAddress = IPAddress.Parse(sTmp) ip = Dns.GetHostEntry(ipAddr) MaskedTextBox2.Text = ip.HostName
Dns.resolve seems to be deprecated in later versions of .Net. As stated above, I believe the problem is that your IP address does not have a fixed name or has multiple names. The example above works with Google addresses, but not with the address we use, which has a couple of names associated with it.
source share