Indy 9
TARecord
Hierarchy, Properties, Methods, See Also, Unit: IdDNSResolver
Represents a resource record returned from a DNS query that includes Host Address record types.
TARecord = class(TRDATARecord)
Unit
IdDNSResolver
Description
TARecord is a TRDATARecord descendant that represents a resource record returned in the results for a DNS query. TARecord is the collection item created to represent a resource resource returned when TIDNSResolver.QueryRecords includes the value qtA for Address resource records.

An Address resource record is used to provide the Internet address of a host server in dotted-decimal form. For example: "10.2.0.52" or "192.0.5.6".

An Address resource record uses the same DNS packet layout as other TResultRecord-based responses, but extends the use of RData to include the following definition and format:

  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
  |                    ADDRESS                    |
  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

  • ADDRESS - 32-bit Internet address.

Hosts that have multiple Internet addresses will have multiple Address resource records.


Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.