Dns.GetHostEntry doesn't resolve when Dns.Resolve does
I have written a tracert function for SQL Clr by using the Ping object. I am trying to resolve the names of the ip addresses on the route and find that Dns.GetHostEntry doesn't resolve to a name, whereas Dns.Resolve does.
This is my line for resolving an Ipaddress object returned in the PingReply to a hostname
host =
Dns.Resolve(_address.ToString ()).HostName;the Dns HostEntry version
host =
Dns.GetHostEntry(_address).HostName;Just returns the IpAddress.
I obviously don't want to use Resolve as its deprecated why does GetHostEntry not work?

