Module op
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.
Modules§
- header
- Message metadata
- message
- Basic protocol message for DNS
- op_code
- Operation code for queries, updates, and responses
- query
- Query struct for looking up resource records
- response_
code - All defined response codes in DNS
- update_
message - Update related operations for Messages
Structs§
- Edns
- Edns implements the higher level concepts for working with extended dns as it is used to create or be created from OPT record data.
- Edns
Flags - EDNS flags
- Header
- Metadata for the
Message
struct. - Lower
Query - Identical to crate::op::Query, except that the Name is guaranteed to be in lower case form
- Message
- The basic request and response data structure, used for all DNS protocols.
- Message
Parts - Consumes
Message
giving public access to fields inMessage
so they can be destructured and taken by value - Query
- Query struct for looking up resource records, basically a resource record without RDATA.
Enums§
- Message
Type - Message types are either Query (also Update) or Response
- OpCode
- Operation code for queries, updates, and responses
- Response
Code - The status code of the response to a query.
Traits§
- Message
Finalizer - A trait for performing final amendments to a Message before it is sent.
- Update
Message - To reduce errors in using the Message struct as an Update, this will do the call throughs to properly do that.
Type Aliases§
- Message
Verifier - Alias for a function verifying if a message is properly signed