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

Represents a resource record returned from a DNS query that includes Host Information resource record types.

File
THINFORecord = class(TTextRecord);

THINFORecord is a TTextRecord descendant that represents a resource record returned in the results for a DNS query. THINFORecord is a collection item created to represent a resource record returned when TIDNSResolver.QueryRecords includes the value qtHINFO for Host Information resource records. 

HINFO resource records are used to acquire general information about a host server. The main use is for protocols such as FTP that can use special procedures when talking between machines or operating systems of the same type. 

An HINFO resoure 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: 

 

  • CPU - Variable length character string which specifies the CPU type for the host server.
 

  • OS - Variable length character string which specifies the Operating System for the host server. Standard values for CPU and OS can be found in RFC 1010.
 

THINFORecord extends TTextRecord to implement the specifics of accessing RData values as properties, including CPU and OS

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

TTextRecord TResultRecord 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.