Internet Direct (Indy) Version 9.0.1 Beta
TResultRecord.RecType
Represents the type for a resource record read in a DNS query response.

property RecType: TQueryRecordTypes;
Description
RecType is a read-only TQueryRecordTypes property that represents the type for a resource record read in a DNS query response. Like RecClass, RecType is an encoded 16-bit value that specifies the type of the resource record as defined in QueryRecordValues.

RecType will normally contain one of the TQueryRecordTypes values specified in TIdDNSResolver.QueryRecords prior to calling TIdDNSResolver.Resolve.

RecType may contain one of the following values and associated meanings for the resource record type:

RecType is updated when TQueryResult.Add is used to create a resource record read from a DNS response in TIdDNSResolver.Resolve.