Union ResourceRecord.RDATA
A variable length string of octets that describes the resource.
The format of this information varies according to the TYPE and CLASS
of the resource record.
For example, the if the TYPE is A and the CLASS is IN,
the RDATA field is a 4 octet ARPA Internet address.
Constructors
Name | Description |
this
(val)
|
Construct an instance of this union
|
Fields
Name | Type | Description |
a
|
uint | An A record, an IPv4 address
|
aaaa
|
ubyte[16] | A 128 bit IPv6 address is encoded in the data portion of an AAAA
resource record in network byte order (high-order byte first).
|
binary
|
ubyte[] | The binary data, if the TYPE is not known / implemented
|
name
|
Domain | A domain name: this is used by various record types,
for example as CNAME, MX, NS...
|
soa
|
SOA | The content of an SOA section
|
uri
|
URIRDATA | An URI record data
|