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

A raw record parsed from a message.

A DNS resource record.

The header of a resource record.

Enums

Traits

A helper trait allowing construction of records on the fly.