Internet Direct (Indy) Version 9.0.1 Beta
TIdDNSResolver.QueryResult
Container for values and resource records in a DNS response.

property QueryResult: TQueryResult;
Description
QueryResult is a read-only TQueryResult property acts as a container for the results from a DNS query. QueryResult will indicate the class, type, and domain name used in the DNS query, as well as any DNS resource records returned in the query response.

QueryResult is updated when the Resolve method parses values found in the Answer portion of the DNS response.

QueryResult is a collection for TResultRecord resource records, and Items in the collection can be accessed using their integer position. Items in QueryResult may also be cast to a TResultRecord descendant class instance to allow access to additional properties and method specific to the resource record type.