Module trust_dns::op

source ·
Expand description

Operations to send with a Client or server, e.g. Query, Message, or UpdateMessage can be used to gether 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.
Identical to [trust_dns::op::Query], except that the Name is guaranteed to be in lower case form
The basic request and response datastructure, 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 ammendments 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.