QueryRecords is a
TQueryType property that represents the resource record types desired in the answer to a DNS Query. QueryRecords is used to construct the Question portion of the DNS packet sent to the DNS server.
QueryRecords may contain one or more of the TQueryType values, including the following:
- qtA - Host address
- qtNS - Authoritative name server
- qtMD - Mail destination (Obsolete - use MX)
- qtMF - Mail forwarder (Obsolete - use MX)
- qtName - Canonical name for an alias
- qtSOA - Start of a zone of authority marker
- qtMB - Mailbox domain name (EXPERIMENTAL)
- qtMG - Mail group member (EXPERIMENTAL)
- qtMR - Mail rename domain name (EXPERIMENTAL)
- qtNull - Null resource record (EXPERIMENTAL)
- qtWKS - Well known service description
- qtPTR - Domain name pointer
- qtHINFO - Host information
- qtMINFO - Mailbox or mail list information
- qtMX - Mail exchange
- qtTXT - Text strings
- qtSTAR - All resource record types
Update QueryRecords to include the values desired prior to calling the Resolve method.