#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.

53 releases

0.21.2 Mar 30, 2022
0.21.0-alpha.4 Oct 13, 2021
0.20.4 Feb 2, 2022
0.20.3 May 15, 2021
0.2.0 Nov 30, 2017

#381 in Network programming

Download history 99164/week @ 2022-01-31 103001/week @ 2022-02-07 100033/week @ 2022-02-14 96639/week @ 2022-02-21 98483/week @ 2022-02-28 103833/week @ 2022-03-07 102682/week @ 2022-03-14 115244/week @ 2022-03-21 135701/week @ 2022-03-28 129320/week @ 2022-04-04 127313/week @ 2022-04-11 135432/week @ 2022-04-18 127074/week @ 2022-04-25 114942/week @ 2022-05-02 116566/week @ 2022-05-09 122309/week @ 2022-05-16

488,124 downloads per month
Used in 766 crates (40 directly)


20K SLoC


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.54


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.


~282K SLoC