Record classes
A Record object stores basic DNS resource record information.
Type-specific record classes are derived from Record and expose the same
properties. They also interpret the data portion according to the record type to provide
additional properties.
Record properties
| Name |
String |
Domain name to which the record pertains |
| Type |
Short |
Record type (one of the HexDnsType constants) |
| Class |
Short |
Record class (one of the HexDnsClass constants) |
| Ttl |
Long |
Time To Live (maximum cache time) for the record (seconds) |
| Data |
Array of Byte |
Raw record data in a 0-based byte array |
| DataLength |
Long |
Size of the Data array (bytes) |
RFC 1035
| Addr |
Long |
Domain name to which the record pertains |
RFC 1035
| Server |
String |
Authoritative name server for this domain |
RFC 1035
| CName |
String |
Canonical (primary) name for this domain |
RFC 1035
| Server |
String |
Name server that was the original or primary source of data for this zone |
| Email |
String |
Email address of the person responsible for this zone |
| Serial |
Long |
Version number of the original copy of this zone |
| Refresh |
Long |
Time interval before zone should be refreshed (seconds) |
| Retry |
Long |
Time interval before a failed refresh should be retried (seconds) |
| Expire |
Long |
Maximum time before the zone is no longer authoritative (seconds) |
| MinTtl |
Long |
Minimum time to live for records from this zone (seconds) |
RFC 1035
| Pointer |
String |
Domain name for the encoded IP or network address in Name |
RFC 1035
| Cpu |
String |
Host CPU type |
| Os |
String |
Host operating system |
RFC 1035
| Preference |
Long |
Number indicating this record's preference relative to others returned
(lower is better) |
| Exchange |
String |
Mail exchange server for this domain |
RFC 1035
| String |
String |
First text string in the record (for convenience) |
| Strings |
Array of String |
1-based array of all strings in the record. The RFC specifies that TXT
records can contain more than one string, but in practice they usually contain only one. |
RFC 1183
| Email |
String |
Email address of responsible person for this domain or host |
| TxtDomain |
String |
Domain name to query for related TXT records |
RFC 1876
| Version |
Byte |
Data format version number (should be 0) |
| Size |
Byte |
Diameter of a sphere enclosing the location |
| HorzPre |
Byte |
Horizontal precision of the data |
| VertPre |
Byte |
Vertical precision of the data |
| Latitude |
Long |
Latitude of the center of the sphere |
| Longitude |
Long |
Longitude of the center of the sphere |
| Altitude |
Long |
Altitude of the center of the sphere |
|