DNSRecord Type
A record that is returned by the DNS server.
Remarks
When a Query method is performed by the DNS component, the DNS server returns one or more DNSRecords containing information about the domain you specified. This information is contained in the different fields of the record.
Each record may have multiple FieldNames and corresponding FieldValues. You may iterate through these by setting the FieldIndex field.
Fields
Domain String |
This property contains the domain name associated with the selected response record, at RecordIndex. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FieldCount Integer |
This property contains the number of properties in the current record. After a successful query, the field values for each record will be provided in the Records properties. To retrieve a particular field value for a record, first set FieldIndex to a valid response field index, and then query records collection for the value of that field. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FieldIndex Integer |
This property contains the index of the selected property of the current record. FieldIndex valid values are from 0 to (FieldCount - 1). After a successful query, the field values for each record will be provided in the Records properties. To retrieve a particular field value for a record, first set FieldIndex to a valid response field index, and then query records collection for the value of that field. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FieldName String |
This property contains the name of the field selected by FieldIndex. Field names are different depending on the record type. For example, an MX record type will contain two properties: PREFERENCE and EXCHANGE, but an SOA record type contains seven properties. Field names:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FieldValue String |
This property contains the value of the field selected by FieldIndex. After a successful query, the field values for each record will be provided in the Records properties. To retrieve a particular field value for a record, first set FieldIndex to a valid response field index, and then query records collection for the value of that field. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FieldValueB TBytes |
This property contains the value of the field selected by FieldIndex. After a successful query, the field values for each record will be provided in the Records properties. To retrieve a particular field value for a record, first set FieldIndex to a valid response field index, and then query records collection for the value of that field. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RecordData String |
This property contains the full record data as received from the DNS server. After a successful query, the field values for each record will be provided in the Records properties. To retrieve a particular field value for a record, first set FieldIndex to a valid response field index, and then query records collection for the value of that field. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RecordDataB TBytes |
This property contains the full record data as received from the DNS server. After a successful query, the field values for each record will be provided in the Records properties. To retrieve a particular field value for a record, first set FieldIndex to a valid response field index, and then query records collection for the value of that field. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RecordType TipwDNSRecordTypes |
This property contains the record type. Record types correspond to QueryType and are defined as follows:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RecordTypeName String |
This property contains the string representation of the current record type defined by RecordType.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TTL Integer |
This property contains the record Time To Live (TTL) value. The TTL specifies the time interval in seconds that the record is valid, or the time interval that the record can be cached before the DNS server should be queried again. |
Constructors
constructor Create();