Module domain::bits::message[][src]

Accessing exisiting DNS messages.

This module defines a number of types for disecting the content of a DNS message in wire format. There are two basic types that wrap the bytes of such a message: Message for a unsized bytes slice and MessageBuf for an owned message.

Detailed information on the structure of messages and how they are accessed can be found with the Message type.

Structs

Message

A slice of a DNS message.

MessageBuf

An owned DNS message.

QuestionSection

An iterator over the question section of a DNS message.

RecordIter

An iterator over specific records of a record section of a DNS message.

RecordSection

An iterator over one of the three record sections of a DNS message.