Expand description
The network-agnostic DNS parser library
Documentation | Github | Crate
Use Builder
to create a new outgoing packet.
Use Packet::parse
to parse a packet into a data structure.
Re-exports§
pub use rdata::RData;
Modules§
- rdata
- Data types and methods for handling the RData field
Structs§
- Builder
- Allows to build a DNS packet
- Header
- Represents parsed header of the packet
- Name
- The DNS name as stored in the original packet
- Packet
- Parsed DNS packet
- Question
- A parsed chunk of data in the Query section of the packet
- Resource
Record - A single DNS record
Enums§
- Class
- The CLASS value according to RFC 1035
- Error
- Error parsing DNS packet
- Opcode
- The OPCODE value according to RFC 1035
- Query
Class - The QCLASS value according to RFC 1035
- Query
Type - The QTYPE value according to RFC 1035
- Response
Code - The RCODE value according to RFC 1035
- Type
- The TYPE value according to RFC 1035