domain::base

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§

Modules§

  • EDNS options for signaling cryptographic algorithm understanding.
  • EDNS option to request the complete DNSSEC validation chain.
  • EDNS Option for DNS cookies.
  • EDNS Options for signalling zone expire times.
  • EDNS option for extended DNS errors.
  • EDNS options to signal a variable TCP connection timeout.
  • EDNS options to signal the trust anchor key used in DNSSEC validation.
  • ENDS option to provide a Name Server Identifer.
  • EDNS options for paddin message sizes.
  • EDNS option for carrying client subnet information.

Structs§

Enums§

Traits§

  • An OPT option that can be written to wire format.
  • A type representing an OPT option.
  • An OPT option that can be parsed from the record data.