Open-source authoritative DNS server from NLnet Labs
open sourceBSD-3-Clauseself-hostablefree
NSD (Name Server Daemon) is NLnet Labs' authoritative DNS server, used from organisations' internal domains up to globally distributed platforms for the root and top-level domains. It serves zones from memory with independent forked worker processes instead of shared threads, loads zone files fast with the simdzone parser, and keeps its scope small: it publishes zones but doesn't resolve recursively or manage DNSSEC signing keys, which NLnet Labs leaves to Unbound and Cascade. It suits hidden-primary setups that feed public secondaries, with AXFR/IXFR and NOTIFY, TSIG and zone transfers over TLS, serves signed zones with NSEC or NSEC3, runs an external verifier before publishing an update, provisions zones through patterns and catalog zones, keeps client addresses behind a proxy with PROXYv2, and has nsd-control, Prometheus metrics and dnstap. It's BSD 3-Clause with every feature in the open source project, and NLnet Labs sells professional support.
Ways to install
Package managers
Problems it solves
- a small, fast name server that only serves our zones, to keep the attack surface of our public DNS down
- run a hidden primary DNS server whose public secondaries pull the zones by transfer
- serve zones that were DNSSEC-signed elsewhere from our public authoritative name servers
- protect zone transfers between our name servers with TSIG keys or TLS
- run our own check on a new version of a zone before the name server starts serving it
- provision new zones on every secondary DNS server from one catalog zone
- load very large zone files quickly when the authoritative server starts
- keep client IP addresses in our name server's logs when queries arrive through a DNS proxy
- export authoritative DNS server metrics to Prometheus and query logs to dnstap
- answer more queries per second on a Linux name server with AF_XDP sockets
Features
- full and incremental zone transfers (AXFR/IXFR) with NOTIFY
- access controls, TSIG authentication and zone transfers over TLS (XoT)
- serves DNSSEC-signed zones with NSEC or NSEC3
- external verifier run before an update is published
- configuration patterns and catalog zones
- PROXYv2 support
- nsd-control, Prometheus metrics and dnstap
- forked worker processes serving from memory; simdzone zone file parser
- XDP/AF_XDP sockets
Limitations
- Doesn't resolve recursively: NSD only publishes the zones assigned to it, and NLnet Labs points to Unbound for resolving2
- Doesn't sign zones or manage DNSSEC keys: it serves zones signed elsewhere, and NLnet Labs offers Cascade for signing2
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what NSD does.
- Technitium DNS Server Self host a DNS server for privacy & security
- Knot DNS High-performance authoritative-only DNS server
- PowerDNS Authoritative Server A high-performance and versatile authoritative DNS server
- BIND 9 Versatile, classic, complete name server software
- CoreDNS CoreDNS is a DNS server that chains plugins
- Unbound A validating, recursive, and caching DNS resolver
