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

Represents resource records in a DNS response that include Text String resource record types.

File
TTextRecord = class(TResultRecord);

TTextRecord is a TResultRecord descendant that represents a resource record returned in the results for a DNS query. TTextRecord is the collection item created to represent a resource resource returned when TIdDNSResolver.QueryRecords includes the value qtTXT for Text String resource records. 

Text String resource records are used to provide variable length text string values associated with the Domain owner. Text String resource records do not describe the semantics of the test string contents, and is dependent on the domain where it is located. 

A Text String 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: 

 

  • TXT-DATA - One or more character strings.
 

TTextRecord extends TResultRecord to implement the specifics of accessing RData values as properties, including Text

TTextRecord also overrides the Parse method to read the values in RData into their property counterparts.

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