Expand description
Accessing exisiting DNS messages.
This module defines a number of types for disecting the content of a
DNS message in wire format. Because many of the components of the message
are of varying length, this can only be done iteratively. You start out
with a value of type Message
that wraps the data of a complete
message and progressively trade it in for values of other types
representing other sections of the message.
For all details, see the Message
type.
Structs§
- Message
- A DNS message.
- Message
Iterator - Question
Section - An iterator over the question section of a DNS message.
- Record
Iter - An iterator over specific records of a record section of a DNS message.
- Record
Section - An iterator over one of the three record sections of a DNS message.
Enums§
- Section
- A helper type enumerating which section a
RecordSection
is currently in.