Indy 9 | Content | Index | Reference

THINFORecord
Hierarchy, Properties, Methods, Unit: IdDNSResolver
Represents a resource record returned from a DNS query that includes Host Information resource record types.

    THINFORecord = class(TTextRecord)

Unit
IdDNSResolver
Description
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                      .
      .                                               .
      |                                               |
      +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
      |                                               |
      .                                               .
      .                      OS                       .
      .                                               .
      |                                               |
      +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

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

THINFORecord.CPU
THINFORecord
Represents the CPU type for the host server.

    property CPU: String;

Description
CPU is a read-only String property that represents the CPU type for the host server. CPU will contain one of the standard values defined in RFC 1010, including:

- ALTO

- AMDAHL-V7

- APOLLO

- ATT-3B20

- BBN-C/60

- BURROUGHS-B/29

- BURROUGHS-B/4800

- BUTTERFLY

- C/30

- C/70

- CADLINC

- CADR

- CDC-170

- CDC-170/750

- CDC-173

- CELERITY-1200

- COMTEN-3690

- CP8040

- CRAY-1

- CRAY-X/MP

- CRAY-2

- CTIWS-117

- DANDELION

- DEC-10

- DEC-1050

- DEC-1077

- DEC-1080

- DEC-1090

- DEC-1090B

- DEC-1090T

- DEC-2020T

- DEC-2040

- DEC-2040T

- DEC-2050T

- DEC-2060

- DEC-2060T

- DEC-2065

- DEC-FALCON

- DEC-KS10

- DORADO

- DPS8/70M

- ELXSI-6400

- FOONLY-F2

- FOONLY-F3

- FOONLY-F4

- GOULD

- GOULD-6050

- GOULD-6080

- GOULD-9050

- GOULD-9080

- H-316

- H-60/68

- H-68

- H-68/80

- H-89

- HONEYWELL-DPS-6

- HONEYWELL-DPS-8/70

- HP3000

- HP3000/64

- IBM-158

- IBM-360/67

- IBM-370/3033

- IBM-3081

- IBM-3084QX

- IBM-3101

- IBM-4331

- IBM-4341

- IBM-4361

- IBM-4381

- IBM-4956

- IBM-PC

- IBM-PC/AT

- IBM-PC/XT

- IBM-SERIES/1

- IMAGEN

- IMAGEN-8/300

- IMSAI

- INTEGRATED-SOLUTIONS

- INTEGRATED-SOLUTIONS-68K

- INTEGRATED-SOLUTIONS-CREATOR

- INTEGRATED-SOLUTIONS-CREATOR-8

- INTEL-IPSC

- IS-1

- IS-68010

- LMI

- LSI-11

- LSI-11/2

- LSI-11/23

- LSI-11/73

- M68000

- MASSCOMP

- MC500

- MC68000

- MICROVAX

- MICROVAX-I

- MV/8000

- NAS3-5

- NCR-COMTEN-3690

- NOW

- ONYX-Z8000

- PDP-11

- PDP-11/3

- PDP-11/23

- PDP-11/24

- PDP-11/34

- PDP-11/40

- PDP-11/44

- PDP-11/45

- PDP-11/50

- PDP-11/70

- PDP-11/73

- PE-7/32

- PE-3205

- PERQ

- PLEXUS-P/60

- PLI

- PLURIBUS

- PRIME-2350

- PRIME-2450

- PRIME-2755

- PRIME-9655

- PRIME-9755

- PRIME-9955II

- PRIME-2250

- PRIME-2655

- PRIME-9955

- PRIME-9950

- PRIME-9650

- PRIME-9750

- PRIME-2250

- PRIME-750

- PRIME-850

- PRIME-550II

- PYRAMID-90

- PYRAMID-90MX

- PYRAMID-90X

- RIDGE

- RIDGE-32

- RIDGE-32C

- ROLM-1666

- S1-MKIIA

- SMI

- SEQUENT-BALANCE-8000

- SIEMENS

- SILICON-GRAPHICS

- SILICON-GRAPHICS-IRIS

- SPERRY-DCP/10

- SUN

- SUN-2

- SUN-2/50

- SUN-2/100

- SUN-2/120

- SUN-2/140

- SUN-2/150

- SUN-2/160

- SUN-2/170

- SUN-3/160

- SUN-3/50

- SUN-3/75

- SUN-3/110

- SUN-50

- SUN-100

- SUN-120

- SUN-130

- SUN-150

- SUN-170

- SUN-68000

- SYMBOLICS-3600

- SYMBOLICS-3670

- TANDEM-TXP

- TEK-6130

- TI-EXPLORER

- TP-4000

- TRS-80

- UNIVAC-1100

- UNIVAC-1100/60

- UNIVAC-1100/62

- UNIVAC-1100/63

- UNIVAC-1100/64

- UNIVAC-1100/70

- UNIVAC-1160

- VAX-11/725

- VAX-11/730

- VAX-11/750

- VAX-11/780

- VAX-11/785

- VAX-11/790

- VAX-11/8600

- VAX-8600

- WANG-PC002

- WANG-VS100

- WANG-VS400

- XEROX-1108

- XEROX-8010

THINFORecord.OS
THINFORecord
Represents the Operating SYstem name in a Host Information resource record.

    property OS: String;

Description
OS is a read-only String property that represents the Operating System name for the host server as indicated in the resource record. OS will contain one of the standard values described in RFC 1010, including:

- AEGIS

- APOLLO

- BS-2000

- CEDAR

- CGW

- CHRYSALIS

- CMOS

- CMS

- COS

- CPIX

- CTOS

- CTSS

- DCN

- DDNOS

- DOMAIN

- EDX

- ELF

- EMBOS

- EMMOS

- EPOS

- FOONEX

- FUZZ

- GCOS

- GPOS

- HDOS

- IMAGEN

- INTERCOM

- IMPRESS

- INTERLISP

- IOS

- ITS

- LISP

- LISPM

- LOCUS

- MINOS

- MOS

- MPE5

- MSDOS

- MULTICS

- MVS

- MVS/SP

- NEXUS

- NMS

- NONSTOP

- NOS-2

- OS/DDP

- OS4

- OS8d6

- OSX

- PCDOS

- PERQ/OS

- PLI

- PSDOS/MIT

- PRIMOS

- RMX/RDOS

- ROS

- RSX11M

- SATOPS

- SCS

- SIMP

- SWIFT

- TAC

- TANDEM

- TENEX

- TOPS10

- TOPS20

- TP3010

- TRSDOS

- ULTRIX

- UNIX

- UT2D

- V

- VM

- VM/370

- VM/CMS

- VM/SP

- VMS

- VMS/EUNICE

- VRTX

- WAITS

- WANG

- XDE

- XENIX

THINFORecord.Parse
THINFORecord
Parsed RData values into properties.

    procedure Parse(CompleteMessage: String; APos: Integer); override;

Parameters
CompleteMessage: String
Contents of the resource record.
APos: Integer
Position where RData values begin in the answer.
Description
Parse is an overridden procedure that implements a routine to parse resource record values in the DNS response into their property-based counterparts.

CompleteMessage is the contents of the resource record. Since the DNS message can contain compressed data, the whole message is needed for parsing and pointer location.

APos is the position in the resource record where RData values for this record type are located in the DNS Answer.

Parse calls the inherited Parse method, and retrieve the DNS labels and values for the CPU and OS properties.

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