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

trust-dns-server

Trust-DNS is a safe and secure DNS server with DNSSEC support. Eventually this could be a replacement for BIND9. The DNSSEC support allows for live signing of all records, in it does not currently support records signed offline. The server supports dynamic DNS with SIG0 authenticated requests. Trust-DNS is based on the Tokio and Futures libraries, which means it should be easily integrated into other software that also use those libraries.

60 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.9.3 Dec 31, 2016

#2300 in Network programming

Download history 4389/week @ 2024-07-22 5722/week @ 2024-07-29 6006/week @ 2024-08-05 5579/week @ 2024-08-12 3506/week @ 2024-08-19 3511/week @ 2024-08-26 2760/week @ 2024-09-02 2702/week @ 2024-09-09 2368/week @ 2024-09-16 2411/week @ 2024-09-23 2346/week @ 2024-09-30 2587/week @ 2024-10-07 2278/week @ 2024-10-14 2717/week @ 2024-10-21 2279/week @ 2024-10-28 2211/week @ 2024-11-04

9,591 downloads per month
Used in fewer than 27 crates

MIT/Apache

2MB
35K 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-server, from 0.24 and onward.

Overview

Trust-DNS Server is a library which implements the zone authoritory functionality.

This library contains basic implementations for DNS zone hosting. It is capable of performing signing all records in the zone for server DNSSEC RRSIG records associated with all records in a zone. There is also a trust-dns binary that can be generated from the library with cargo install trust-dns. Dynamic updates are supported via SIG0 (an mTLS authentication method is under development).

Features

  • Dynamic Update with sqlite journaling backend (SIG0)
  • DNSSEC online signing (NSEC not NSEC3)
  • DNS over TLS (DoT)
  • DNS over HTTPS (DoH)
  • Forwarding stub resolver
  • ANAME resolution, for zone mapping aliass to A and AAAA records
  • Additionals section generation for aliasing record types

Future goals

  • Distributed dynamic DNS updates, with consensus
  • mTLS based authorization for Dynamic Updates
  • Online NSEC creation for queries
  • Full hint based resolving
  • Maybe NSEC3 and/or NSEC5 support

Minimum Rust Version

The current minimum rustc version for this project is 1.64

Versioning

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.

Dependencies

~8–24MB
~383K SLoC