Crate dnsparse

Source
Expand description

A no_std library for parsing and generating DNS queries and responses.

Implemented according to RFC 1035.

Structs§

Answer
A DNS answer.
Answers
Iterator over Answers contained in a Message.
Header
A DNS header.
Message
A DNS message.
MessageBuilder
Builder for Message.
Name
A DNS name.
Question
A DNS question.
Questions
Iterator over Questions contained in a Message.

Enums§

Error
A DNS parsing error.
HeaderKind
The kind of a DNS header.
OpCode
A DNS opcode.
QueryClass
The class of a DNS query.
QueryKind
The kind of a DNS query.
ResponseCode
A DNS response code.

Type Aliases§

MessageBuffer
Helper type for constructing a buffer with the maximum UDP message size.