Crate doge_dns

Crate doge_dns 

Source
Expand description

The DNS crate is the ‘library’ part of dog. It implements the DNS protocol: creating and decoding packets from their byte structure.

Re-exports§

pub use self::strings::Labels;
pub use self::wire::Wire;
pub use self::wire::WireError;
pub use self::wire::MandatedLength;
pub use self::types::*;

Modules§

record
All the DNS record types, as well as how to parse each type.
strings
Reading strings from the DNS wire protocol.
types
DNS packets are traditionally implemented with both the request and response packets at the same type. After all, both follow the same format, with the request packet having zero answer fields, and the response packet having at least one record in its answer fields.
wire
Parsing the DNS wire protocol.