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§

Modules§

  • All the DNS record types, as well as how to parse each type.
  • Reading strings from the DNS wire protocol.
  • 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.
  • Parsing the DNS wire protocol.