Module opt

Source
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;

Modules§

rfc5001
rfc6975
EDNS Options from RFC 6975.
rfc7314
EDNS Options from RFC 7314
rfc7828
EDNS Options from RFC 7828
rfc7830
EDNS Options from RFC 7830
rfc7871
EDNS Options from RFC 7871
rfc7873
EDNS Options form RFC 7873
rfc7901
EDNS Options from RFC 7901
rfc8145
EDNS Options from RFC 8145.

Structs§

Opt
OPT record data.
OptHeader
The header of an OPT record.
OptIter
OptRecord
An entire OPT record.
OptionHeader
UnknownOptData

Enums§

AllOptData
AllOptParseError

Traits§

CodeOptData
OptData