Topic Path: Symbol Reference > Classes > TQueryResult Class > TQueryResult Properties > QueryType Property
TQueryResult.QueryType Property

Indicates the query OpCode used to perform a DNS query.

property QueryType: Word;

QueryType is a read-only Word property that represents the query OpCode used for querying resource records for the specified DomainName. QueryType is read from the header for the DNS response packet when TIdDNSResolver parses the query results. 

Currently, the TIdDNSResolver implementation does not support all aspects of the DNS protocol, and includes the following limitations: 

  • The DNS query type is limited to standard queries, where the DNS Header OPCODE is 0. Inverse queries (OPCODE=1) and Status queries (OPCODE=2) are not supported at this time.

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