An NDoc Documented Class Library |
|
DNSLookup Members
DNSLookup overview
Public Static Fields
 QCLASS_ANY | Query class for any scheme of record system. |
 QCLASS_CHAOS | Query class for Chaos scheme of record system. This scheme is almost extinct. |
 QCLASS_HESIOD | Query class for Hesiod scheme of record system. This scheme is only used at M.I.T. |
 QCLASS_IN | Query class for Internet scheme of record system. This is the most widely used class |
 QTYPE_A | Query type value for Address Record. Address record provides the IP address for a hostname. |
 QTYPE_A6 | Query type value for IPV6 Address Record(Newer version of A6). AAAA is still widely used. |
 QTYPE_AAAA | Query type value for IPv6 Address Record. AAAA Record provides the IPv6 address for a hostname. |
 QTYPE_ANY | Query type value for All Records. This query will return all available records for a host/domain. |
 QTYPE_CNAME | Query type value for Canonical Name Record. Alias Hostname can be created for some other hostname in possibly a different domain. The CNAME record provides the real hostname for a given hostname. |
 QTYPE_MX | Query type value for Mail Exchange Record. MX Record indicates servers that are responsible for handling mail for the domain. |
 QTYPE_NS | Query type value for Name Server Record. Name Server records provides the Authoritative Name Server for a domain. |
 QTYPE_PTR | Query type value for Pointer Record. PTR Record provide a mapping from IP address back to host name. |
 QTYPE_SOA | Query type value for Start Of Authority Record. SOA Record contains information about a zone. |
 QTYPE_TXT | Query type value for Text Record. TXT Record has text information. Text record is sometimes used for SPF(Sender Policy Framework) record. |
 QTYPE_WKS | Query type value for Well Known Services Record. WKS record provides information about services that are available on a server. The services are HTTP, POP, IMAP... The record provides a list of ports on which the services are available. |
Public Instance Constructors
DNSLookup Constructor
|
DNSLookup Constructor looks up a requested record on a given server. The lookup is done in the constructor itself. If there is any error, an exception is throw. |
Public Instance Fields
INTERNAL_BUFFER | Size of internal buffer used to field the response from the DNS server. If lot of records are expected in the response, this number should be increased. The default value is 5024. |
Public Instance Methods
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetA6Records | Returns all A6 records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response. There can be more than one A6 record for a hostname. |
GetAAAARecords | Returns all AAAA records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response. There can be more than one AAAA record for a hostname. |
GetAdditionalRecords | Returns Resource Records extracted from the Additional Section of the response. The return array has instances of subclasses of Resource Records. Each element in the array can be checked for the type and typecast. |
GetAnswerRecords | Returns Resource Records extracted from the Answer Section of the response. The return array has instances of subclasses of Resource Records. Each element in the array can be checked for the type and typecast. |
GetARecords | Returns all A records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response. There can be more than one A record for a hostname. |
GetAuthorityRecords | Returns Resource Records extracted from the Authority Section of the response. The return array has instances of subclasses of Resource Records. Each element in the array can be checked for the type and typecast. |
GetCNAMERecords | Returns all CNAME records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response. There can be more than one CNAME record for a hostname. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetMXRecords | Returns all MX records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response. There can be more than one MX record for a hostname. |
GetNSRecords | Returns all NS records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response. There can be more than one NS record for a hostname. |
GetPTRRecords | Returns all PTR records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response. There can be more than one PTR record for a hostname. |
GetQuestionRecord | Returns the Question Record that is sent back in the response. The QuestionRecord has the original query that caused the response. |
GetSOARecords | Returns all SOA records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response. |
GetTXTRecords | Returns all TXT records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response. |
GetType (inherited from Object) | Gets the Type of the current instance. |
GetWKSRecords | Returns all WKS records received in the response. These records are extracted from all three sections(Answer, Authority and Additional) of the response. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Protected Instance Methods
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
See Also
DNSLookup Class | Lavantech.Dns Namespace | SimpleDNSLookup