RecordType Property

This property contains the record type.

Object Oriented Interface

public function getRecordType($recordindex);

Procedural Interface

ipworks_dns_get($res, 14 , $recordindex);

Default Value

1

Remarks

This property contains the record type.

Record types correspond to QueryType and are defined as follows:

rtAddress (1)Address Record
rtNS (2)Name Server Record
rtMD (3)Mail Destination Record
rtMF (4)Mail Forwarder Record
rtCName (5)Canonical Name Record
rtSOA (6)Start Of Authority Record
rtMailBox (7)MailBox Record
rtMailGroup (8)Mail Group Record
rtMR (9)MailBox Rename Record
rtNULL (10)NULL Record
rtWKS (11)Well Known Services Record
rtPointer (12)Pointer Record
rtHostInfo (13)Host Information Record
rtMailInfo (14)Mail Information Record
rtMX (15)Mail Exchange Record
rtText (16)Text Record
rtRP (17)Responsible Person Record
rtAFSDB (18)Service Record
rtX25 (19)X25 Record
rtISDN (20)ISDN Record
rtRT (21)Route Through Record
rtAAAA (28)AAAA Record
rtSRV (33)SRV Record (location of services)
rtNAPTR (35)NAPTR Record (Naming Authority Pointer)

The $recordindex parameter specifies the index of the item in the array. The size of the array is controlled by the RecordCount property.

This property is read-only and not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 PHP Edition - Version 20.0 [Build 8307]