NSD
Name Server Daemon — a simple, security-focused authoritative-only DNS server by NLnet Labs, used by root server operators and TLD registries worldwide.
Security-First Authoritative Server
NSD (Name Server Daemon) is built by NLnet Labs — the same organization that builds Unbound. The two products are designed to be complementary: NSD handles authoritative zones, Unbound handles recursive resolution. This clean separation is the recommended production architecture for security-conscious deployments.
NSD is intentionally minimal. It compiles zone files into an optimized binary database for fast loading and query answering. It has no recursion, no caching beyond zone data, and a small codebase — properties that reduce attack surface. Several root nameserver operators (including k.root-servers.net) run NSD.
- Authoritative-only — no recursion, no cache, minimal attack surface
- Compiles zone files to binary database (
nsd-checkzone+nsdc rebuild) - DNSSEC: serves pre-signed zones; does not sign zones itself (use
ldns-signzoneordnssec-signzone) - AXFR/IXFR zone transfer for secondary/primary setups
- Fast zone reload via
nsd-control reload - IPv6 support, TSIG for secure zone transfers
- Used at root nameservers — proven at extreme scale
- You want a minimal, security-focused authoritative server
- You are pairing it with Unbound as your recursive resolver
- You prefer simplicity and a small codebase over feature richness
- You manage pre-signed DNSSEC zones externally
Key Configuration Examples
nsd.conf — basic setup
Primary + secondary setup
nsd-control commands
Zone file validation
Related Topics
Full-featured authoritative and recursive DNS server — the most widely deployed alternative.
Knot DNSHigh-performance authoritative server from CZ.NIC — similar scope to NSD, designed for TLD scale.
PowerDNSAuthoritative DNS with database backends and REST API — suitable when automation is a priority.