#dns #dns-resolver #client-server #dnssec #bind #named #dig


Hickory DNS is a safe and secure DNS library. This is the foundational DNS protocol library for all Hickory DNS projects.

2 unstable releases

0.24.0 Oct 14, 2023
0.1.0 Sep 26, 2023

#1308 in Network programming

Download history 25020/week @ 2023-12-12 20170/week @ 2023-12-19 14630/week @ 2023-12-26 25376/week @ 2024-01-02 29394/week @ 2024-01-09 34759/week @ 2024-01-16 39965/week @ 2024-01-23 52444/week @ 2024-01-30 43335/week @ 2024-02-06 48490/week @ 2024-02-13 48965/week @ 2024-02-20 47096/week @ 2024-02-27 45370/week @ 2024-03-05 50162/week @ 2024-03-12 56214/week @ 2024-03-19 53400/week @ 2024-03-26

213,906 downloads per month
Used in 124 crates (18 directly)


28K SLoC


Hickory DNS Proto is the foundational DNS protocol library and implementation for Hickory DNS. Unless you want to manipulate the DNS packets directly, it is likely not the library you want. Please see Hickory DNS Resolver, Client, or Server for higher level interfaces.

NOTICE This project was rebranded from Trust-DNS to Hickory DNS and has been moved to the https://github.com/hickory-dns/hickory-dns organization and repo, this crate/binary has been moved to hickory-proto, from 0.24 and onward, for prior versions see trust-dns-proto.

Minimum Rust Version

The current minimum rustc version for this project is 1.67


Hickory DNS does it's best job to follow semver. Hickory DNS will be promoted to 1.0 upon stabilization of the publicly exposed APIs. This does not mean that Hickory DNS will necessarily break on upgrades between 0.x updates. Whenever possible, old APIs will be deprecated with notes on what replaced those deprecations. Hickory DNS will make a best effort to never break software which depends on it due to API changes, though this can not be guaranteed. Deprecated interfaces will be maintained for at minimum one major release after that in which they were deprecated (where possible), with the exception of the upgrade to 1.0 where all deprecated interfaces will be planned to be removed.


~320K SLoC