#dns #dns-records #dnssec #named #bind #dig #client-server

hickory-server

Hickory 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. Hickory DNS is based on the Tokio and Futures libraries, which means it should be easily integrated into other software that also use those libraries.

5 unstable releases

0.25.0-alpha.2 Aug 6, 2024
0.25.0-alpha.1 Jun 16, 2024
0.24.1 Apr 18, 2024
0.24.0 Oct 14, 2023
0.1.0 Sep 26, 2023

#731 in Network programming

Download history 3130/week @ 2024-07-18 4742/week @ 2024-07-25 3370/week @ 2024-08-01 3497/week @ 2024-08-08 6934/week @ 2024-08-15 6936/week @ 2024-08-22 6459/week @ 2024-08-29 4698/week @ 2024-09-05 4047/week @ 2024-09-12 6435/week @ 2024-09-19 7486/week @ 2024-09-26 6225/week @ 2024-10-03 7131/week @ 2024-10-10 5923/week @ 2024-10-17 7495/week @ 2024-10-24 6449/week @ 2024-10-31

27,876 downloads per month
Used in 10 crates

MIT/Apache

2MB
37K SLoC

Overview

Hickory 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 hickory-dns binary that can be generated from the library with cargo install hickory-dns. Dynamic updates are supported via SIG0 (an mTLS authentication method is under development).

NOTICE This project was rebranded from Trust-DNS 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, for prior versions see trust-dns-server.

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

Versioning

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