Expand description
Record data for OPT records.
Since DNS message headers are relatively short, the amount of information that can be conveyed through them is very limited. In order to provide an extensible means to transmit additional information, RFC 6891 introduces a resource record called OPT that can be added to the additional section of a message. The record data in turn consists of a sequence of options.
This module contains the types for working with both the OPT record and its record data. It defines types for each of the currently defined options. As with record data types in the rdata module, these are arranged in sub-modules according to the RFC that defined them and then re-exported here.
Re-exports
pub use self::rfc5001::Nsid;
pub use self::rfc6975::Dau;
pub use self::rfc6975::Dhu;
pub use self::rfc6975::N3u;
pub use self::rfc7314::Expire;
pub use self::rfc7828::TcpKeepalive;
pub use self::rfc7830::Padding;
pub use self::rfc7871::ClientSubnet;
pub use self::rfc7873::Cookie;
pub use self::rfc7901::Chain;
pub use self::rfc8145::KeyTag;
pub use self::rfc8914::ExtendedError;
Modules
EDNS Options from RFC 6975.
EDNS Options from RFC 7314
EDNS Options from RFC 7828
EDNS Options from RFC 7830
EDNS Options from RFC 7871
EDNS Options form RFC 7873
EDNS Options from RFC 7901
EDNS Options from RFC 8145.
Extended DNS Error from RFC 8914
Structs
OPT record data.
The header of an OPT record.
An iterator over the options of an OPT record.
An entire OPT record.
The header of an OPT option.
An OPT option in its raw form.
Enums
Traits
A type for an OPT option for a single specific option code.
A type representing an OPT option.
An OPT option that can be parsed from the record data.