Topic Path: Symbol Reference > Classes > TIdDNSResolver Class > TIdDNSResolver Properties > QueryType Property
ContentsIndexHome
PreviousUpNext
TIdDNSResolver.QueryType Property

Indicates the resource record types requested when resolving a DNS query.

property QueryType: TQueryType;

QueryType is a Published TQueryType property that indicates the resource record types requested when resolving a DNS query. 

QueryType is used in the Resolve method, and when creating DNS header and DNS Question portion of the DNS packet in CreateQuery

Values included in QueryType can affect both the expected response(s) and processing that occurs in the Resolve method. 

Specifically, the value qtAXFR (for Zone transfer queries) is generally used alone and causes additional constraints to be places on the resource record types and counts allowed in the DNS query response. 

Update QueryType to include the resource record type values desired prior to calling the Resolve method.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.