SimpleDNSLookup class provides simple methods to perform most common DNS lookups. If you are looking for more functionality, see DNSLookup class.
For a list of all members of this type, see SimpleDNSLookup Members.
System.Object
Lavantech.Dns.SimpleDNSLookup
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Here are some examples of how SimpleDNSLookup can be used.
IPAddress addr = SimpleDNSLookup.GetIPAddress("www.hotmail.com"); string hostname = SimpleDNSLookup.GetHostName(addr); string mailExchange = SimpleDNSLookup.GetMailExchange("hotmail.com");
Namespace: Lavantech.Dns
Assembly: dnscomponent (in dnscomponent.dll)