#dns #bind #dig #named #dnssec


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

61 releases

0.23.2 Oct 23, 2023
0.23.0 Aug 22, 2023
0.23.0-alpha.4 Jun 11, 2023
0.22.0 Sep 2, 2022
0.2.0 Nov 30, 2017

#5 in #dig

Download history 266934/week @ 2023-11-02 251806/week @ 2023-11-09 278006/week @ 2023-11-16 226525/week @ 2023-11-23 259469/week @ 2023-11-30 241282/week @ 2023-12-07 242097/week @ 2023-12-14 130653/week @ 2023-12-21 125045/week @ 2023-12-28 210720/week @ 2024-01-04 206980/week @ 2024-01-11 250128/week @ 2024-01-18 232527/week @ 2024-01-25 231723/week @ 2024-02-01 272648/week @ 2024-02-08 176307/week @ 2024-02-15

961,272 downloads per month
Used in 1,197 crates (51 directly)


27K SLoC

NOTICE This project has been rebranded 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.


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

Minimum Rust Version

The current minimum rustc version for this project is 1.64


Trust-DNS does it's best job to follow semver. Trust-DNS will be promoted to 1.0 upon stabilization of the publicly exposed APIs. This does not mean that Trust-DNS will necessarily break on upgrades between 0.x updates. Whenever possible, old APIs will be deprecated with notes on what replaced those deprecations. Trust-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.


~319K SLoC