Topic Path: Symbol Reference > Classes > TARecord Class
ContentsIndexHome
PreviousUpNext
TARecord Class

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

File
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

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.