NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #3170 most downloaded on crates.io
Rust implementation to parse and write DNS packets
Latest stable
0.13.1
Last release 6 days ago
16 Nov 2026
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 38 of 39 stable releases
1 version withdrawn
withdrawn after publishing
5 years old
40 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
Writing a packet to a fixed size output that fills up now returns SimpleDnsError::FailedToWrite instead of panicking when the writer returns Ok(0)
SimpleDnsError::FailedToWriteOk(0)Packet::parse no longer preallocates memory based on the section counts of the header, limitingLabel and Name comparison, ordering and hashing are ASCII case-insensitive, conforming with RFC 1035 and RFC 6762. Name compression still only matches
Label and Name comparison, ordering and hashing are ASCII case-insensitive, conforming with\.) in names are handled as part of the label when parsing and displaying aName, and \ is escaped as \\ when displaying [#71]TXT::iter_raw no longer yields attributes with an empty key (an empty string or one starting=), and TXT::attributes matches duplicated keys case-insensitively, keeping the firstLabel::is_valid_hostname, Label::is_valid_service_label and Label::is_valid_instance_labelName::is_valid_hostname, Name::is_valid_service_name, Name::is_valid_instance_name andName::is_valid_sub_type_name, checking names against the RFC 1123, RFC 6335 and RFC 6763 rulesName::new and Label::new accept \DDD and \X escapes (RFC 1035 section 5.1,TXT::add_attribute and TXT::with_attribute, to add key/value attributes with binary valuesFrom<CLASS> for u16, From<A> for Ipv4Addr and From<AAAA> for Ipv6Addr [#74]NSEC::from_types, NSEC::contains and NSEC::types, to build and inspect the type bitmapsis_valid check was replaced by the role-specific is_valid_* methods.Label::new and Name::new check lengths and escapes, but no longer reject labels by content.TXT::attributes keys are now lowercased [#73]Your coding agent can read these notes before it upgrades. Set up the MCP server →
Document panic behaviour in header_buffer and change the functions to have a safe and _unchecked version.
Updated bitflags dependency to 2.11.
update version and changelog
update version and changelog
update version and changelog
update version and changelog
update version and changelog
update version and changelog
update change log and simple-dns version
update change log and simple-dns version
Changes internal implementation to use a Buffer struct instead of a byte slice
update changelog and simple-dns version
update changelog and simple-dns version
Fix panic when parsing (PR #40)
Allow labels starting with numbers (RFC-1123)
Correct serialization of OPT resource record for eDNS packets
new_with_labels to Name implementationLabel typeName::new.Remove the length octet from CAA value serialization
### Added - Add set_id function to packet
set_id function to packetAsync SimpleMdnsResponder::new_with_scope expects an optional future for graceful shutdown.
SimpleMdnsResponder::new_with_scope expects an optional future for graceful shutdown.Add NAPTR record type parsing (RFC 3403)
Fixes invalid name lengths when generating uncompressed bytes from a packet that was parsed from compressed data.
Fixes invalid rdata length when generating compressed packets.
TryFrom<'str> for TXT generating invalid CharacterStrings
Name::is_subdomain_of no longer return true for the same domainName::without to extract subdomains from a domainName compression now considers the full domain when creating pointers.
Add derived traits to PacketFlag that where removed by the previous version
### Added - Support to parse CAA records
write_to and write_compressed_to functions to Packet
write_to and write_compressed_to functions to PacketAdd DeRef and DerefMut implemetations for the ResourceRecord wrapper macro
Prevent panic! when trying to parse an empty slice
Fixes parsing for Name, CharacterString and SOA types
Add NOTIFY code (RFC 1995 and 1996)
thiserror dependencyInsufficientData for stream parsingAdd cache flush bit parsing to resource records
- Fix TXT records length
-Fix PTR parsing with compression
-Fix PTR parsing with compression
- Improve error handling
Fix Name compression when using multiple pointers
Fix a panic when parsing TXT records of length 0
Change internal data references to use Cow
Fix TXT Resource Record implementation
- Fix Name hash function - Fix SRV compression
Change DnsPacketContent visibility to pub(crate)
Nothing published for this version
Initial project release
Initial project release
One column per quarter.