I am trying to do a reverse DNS lookup using Dns.GetHostEntr y 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.GetHostByAd dress 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.GetHostEntr y(IPAddress.Par se("207.46.130. 108"));
vs.
Dns.GetHostByAd dress(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.GetHostByAd dress 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.GetHostEntr y(IPAddress.Par se("207.46.130. 108"));
vs.
Dns.GetHostByAd dress(IPAddress .Parse("207.46. 130.108"));
Comment