DNS Resolver using DNSAPI.DLL

This is a DNS resolver using the dnsapi.dll, it can do all sorts of DNS lookups and not just simple a record lookups like the Dns class in the .NET framework. For example it can do MX (mail exchange) record lookups.

Since it uses the dnsapi.dll it will only work in Windows 2000, Windows XP and .NET Server, no older systems since dnsapi.dll was introduced with W2k.

The credit for this code goes 99.99% to Bill Andreozzi, billandr@towncompass.com, my only contribution was to add some convenient methods to the class.

It is still a bit raw and could probably be made much more convenient to use but it should be useful for those looking for a full featured DNS resolver.


Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now