An NDoc Documented Class Library

SimpleDNSLookup Class

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 class SimpleDNSLookup

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Example

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");
             

Requirements

Namespace: Lavantech.Dns

Assembly: dnscomponent (in dnscomponent.dll)

See Also

SimpleDNSLookup Members | Lavantech.Dns Namespace