Module trust_dns_client::op

source ·
Expand description

Operations to send with a Client or server, e.g. Query, Message, or UpdateMessage can be used together to either query or update resource records sets.

Structs

  • A DNS response object
  • Edns implements the higher level concepts for working with extended dns as it is used to create or be created from OPT record data.
  • Metadata for the Message struct.
  • The basic request and response data structure, used for all DNS protocols.
  • Query struct for looking up resource records, basically a resource record without RDATA.

Enums

  • Message types are either Query (also Update) or Response
  • Operation code for queries, updates, and responses
  • The status code of the response to a query.

Traits

  • A trait for performing final amendments to a Message before it is sent.
  • To reduce errors in using the Message struct as an Update, this will do the call throughs to properly do that.

Type Aliases

  • Alias for a function verifying if a message is properly signed