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:
- 1 - Host address
- 2 - Authoritative name server
- 3 - Mail destination (Obsolete - use MX)
- 4 - Mail forwarder (Obsolete - use MX)
- 5 - Canonical name for an alias
- 6 - Start of a zone of authority marker
- 7 - Mailbox domain name (EXPERIMENTAL)
- 8 - Mail group member (EXPERIMENTAL)
- 9 - Mail rename domain name (EXPERIMENTAL)
- 10 - Null resource record (EXPERIMENTAL)
- 11 - Well known service description
- 12 - Domain name pointer
- 13 - Host information
- 14 - Mailbox or mail list information
- 15 - Mail exchange
- 16 - Text strings
- 255 - All resource record types
RecType is updated when TQueryResult.Add is used to create a resource record read from a DNS response in TIdDNSResolver.Resolve.