Internet Direct (Indy)
Home
PreviousUpNext
TARecord Class

Represents a resource record returned by a DNS query that includes Host Address record types.

Pascal
TARecord = class(TRDATARecord);

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 - 32-bit Internet IP address

 

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

TResultRecord TRDATARecord TQueryResult TIdDNSResolver.QueryRecords

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.