#dns #bind #dig #named #dnssec


Trust-DNS is a safe and secure DNS library. This is an extension for the Trust-DNS client to use rustls for TLS.

44 releases

0.21.0-alpha.4 Oct 13, 2021
0.21.0-alpha.2 Aug 30, 2021
0.20.3 May 15, 2021
0.20.1 Mar 16, 2021
0.1.1 May 17, 2017

#1047 in Network programming

Download history 1939/week @ 2021-10-01 2109/week @ 2021-10-08 2021/week @ 2021-10-15 2169/week @ 2021-10-22 1643/week @ 2021-10-29 1674/week @ 2021-11-05 1924/week @ 2021-11-12 2112/week @ 2021-11-19 1655/week @ 2021-11-26 2568/week @ 2021-12-03 3114/week @ 2021-12-10 1457/week @ 2021-12-17 1021/week @ 2021-12-24 1418/week @ 2021-12-31 1941/week @ 2022-01-07 1490/week @ 2022-01-14

6,064 downloads per month
Used in 21 crates (4 directly)


19K SLoC


NOTICE this crate has been deprecated, instead please see trust-dns-proto with the dns-over-rustls feature

Trust-DNS Rustls is a library which implements the DNS over TLS protocol and client side functions.

This library allows for TLS connections to be established to remote DNS servers. It can replace the standard ClientConnection in the Trust-DNS library. This uses the rustls TLS library for all TLS communications.

Minimum Rust Version

The current minimum rustc version for this project is 1.46


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.


~346K SLoC