#dns #dnssec #dig #bind #named #client-server #secure-communication


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

40 releases

0.21.1 Feb 28, 2022
0.21.0-alpha.4 Oct 13, 2021
0.20.4 Feb 2, 2022
0.20.3 May 15, 2021
0.1.0-alpha.1 Jul 22, 2018

#14 in #secure-communication

Download history 4/week @ 2023-12-22 26/week @ 2024-02-09 76/week @ 2024-02-16 124/week @ 2024-02-23 110/week @ 2024-03-01 127/week @ 2024-03-08 126/week @ 2024-03-15 33/week @ 2024-03-22 196/week @ 2024-03-29 39/week @ 2024-04-05

407 downloads per month


27K SLoC


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

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

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.


~405K SLoC