Expand description
Resource Records.
This module defines types and traits related to DNS resource records. The
most complete type is Record
which contains a complete record for a
certain record type. RecordHeader
contains the data from a record’s
header, the first couple of octets common to all records. Finally,
ParsedRecord
is similar to Record
but contains the record data
in its raw, encoded form.
The AsRecord
trait is used by the message builder to consider
different representations of records.
Structs§
- Parsed
Record - A raw record parsed from a message.
- Record
- A DNS resource record.
- Record
Header - The header of a resource record.
- Ttl
- A span of time, typically used to describe the time a given DNS record is valid.
Enums§
Traits§
- Compose
Record - A helper trait allowing construction of records on the fly.