The fields of the DNSLookup class are listed below. For a complete list of DNSLookup class members, see the DNSLookup Members topic.
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. |
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. |