G
Guest
I am trying to do a reverse DNS lookup using Dns.GetHostEntry in .NET 2.0,
but it seems to kind of crap out when the result is an answer with multiple
records. It doesnt seem to give any type of answer.
The old Dns.GetHostByAddress seems to work partially by atleast returning 1
IpHostEntry, but it has been deprecated.
Any ideas on how to retrieve the multiple records?
example:
Dns.GetHostEntry(IPAddress.Parse("207.46.130.108"));
vs.
Dns.GetHostByAddress(IPAddress.Parse("207.46.130.108"));
but it seems to kind of crap out when the result is an answer with multiple
records. It doesnt seem to give any type of answer.
The old Dns.GetHostByAddress seems to work partially by atleast returning 1
IpHostEntry, but it has been deprecated.
Any ideas on how to retrieve the multiple records?
example:
Dns.GetHostEntry(IPAddress.Parse("207.46.130.108"));
vs.
Dns.GetHostByAddress(IPAddress.Parse("207.46.130.108"));