Answers for your zones, as primary or secondary
Knot DNS is an authoritative DNS server written in C by CZ.NIC. It answers for the zones it hosts, as a primary or a secondary, and does not resolve names on behalf of clients. The knotd daemon ships with its operations tools: knotc to control it, keymgr for DNSSEC keys, kzonecheck to validate a zone, and kdig, a query client close to dig.
Hands-off DNSSEC, encrypted transfers and a lock-free answer path
- Automated DNSSEC: automatic zone signing and key management, multithreaded signing, offline KSK, and HSM access through PKCS #11.
- Transfers and updates: AXFR and IXFR, dynamic updates (over TLS or QUIC too), catalog zones (generated or consumed), ZONEMD, TSIG.
- Encrypted DNS: listens for DNS over TLS and DNS over QUIC, and runs zone transfers over TLS or QUIC with opportunistic, strict or mutual authentication.
- Throughput: the website describes the answering code as "completely lock-free". On Linux 4.18 and later, XDP mode handles UDP, TCP and QUIC through AF_XDP.
- Live operations: zones are added, removed and reconfigured without stopping the server, zone data can be backed up and restored, and configuration lives in YAML or in a database.
- Modules: response rate limiting (RRL), forward and reverse record synthesis, GeoIP answers that work with ECS and DNSSEC, dnstap logging, and zones stored in Redis or Valkey.
No resolver, no DoH, and memory that grows with your zones
No recursive resolution. The website calls Knot DNS "authoritative-only" and points to Knot Resolver, a separate CZ.NIC project, for name resolution. Technitium DNS Server does both in one server; Hickory DNS, written in Rust, has no IXFR or NOTIFY yet.
No DNS over HTTPS on the server side. knotd listens for DoT and DoQ, but DoH only exists in the kdig client.
Memory follows zone size. The documentation puts the need at roughly three times the zone's size in text format, and twice that during an incoming transfer: the server updates zones through Read-Copy-Update instead of locking, so answers never stop. It advises measuring before production for a host with many zones, a TLD or heavy traffic.
Built for large deployments. The website says Knot DNS "works exceptionally well as a root or a TLD name server", and the documentation recommends multi-queue network cards with one queue per core. Day-to-day control goes through the knotc command line.
Two maintained branches. Branch 3.6 (3.6.2, October 21, 2026) gets every fix until Q3 2028; branch 3.5 (3.5.10, same day) only gets important fixes, until Q3 2027. CZ.NIC publishes Debian and RPM packages and a cznic/knot Docker image. Version 3.5.8, released September 4, 2026, fixed a TSIG signing flaw that let an unauthenticated party forge dynamic updates.
License changed in 2025. The project moved to GPL-2.0-or-later with 3.5.0 in September 2025, as stated in the COPYING file and the source file headers. The website's home page still says "GPL 3+".
