Knot DNS explained

Knot DNS
Developer:CZ.NIC
Genre:DNS server
License:GPL license
Latest Release Version:3.3.8
Operating System:Unix-like

Knot DNS is an open-source authoritative-only server for the Domain Name System. It was created from scratch and is actively developed by CZ.NIC, the .CZ domain registry. The purpose of this project is to supply an alternative open-source implementation of an authoritative DNS server suitable for TLD operators to increase overall security, stability and resiliency of the Domain Name System. It is implemented as a multi-threaded daemon, using a number of programming techniques and data structures to make the server very fast,[1] notably Read-copy-update[2] or a special kind of a radix tree.

Knot DNS uses a zone parser written in Ragel to achieve very fast loading of the zones at the startup. It is also able to add and remove zones on the fly by changing the configuration file and reloading the server using the 'knotc' utility.

Since version 3.0.0, Knot DNS supports a high performance XDP mode in Linux, which can improve response performance significantly.[3] [4]

Changelog

New in 1.2.0: Response Rate Limiting, Dynamic DNS, and a new remote control utility.

New in 1.3.0: new zone parser in Ragel (replaces zone compilation) and several client utilities (kdig, khost and knsupdate).

New in 1.4.0: automatic DNSSEC signing of the managed zones.

New in 1.5.0: query modules with two new modules: "Automatic forward/reverse records" and dnstap.

New in 1.6.0: persistent timers for slave zones (expire, refresh, and flush) using LMDB.

New in 2.0.0: new YAML-based configuration, and new DNSSEC implementation using GnuTLS.

New in 2.1.0:[5] dynamic configuration, PKCS #11 interface, and online DNSSEC signing.

New in 2.2.0:[6] Response Rate Limiting white listing, support for URI (RFC 7553) and CAA (RFC 6844) resource record types, interactive mode for 'knotc', new control interface for the server including simple Python bindings.

New in 2.3.0:[7] DNSSEC signing configured in server configuration, automatic NSEC3 resalting, zone operations over server control interface, TLS in kdig.

New in 2.4.0:[8] Unified LMDB based journal, new statistics module, automatic deletion of retired DNSSEC keys.

New in 2.5.0:[9] LMDB based KASP database, KSK rollover, dynamic modules, zone freeze/thaw, zone contents in journal.

New in 2.6.0:[10] On-slave DNSSEC signing, automatic DNSSEC algorithm rollover, Ed25519 algorithm support, TCP Fast Open.

New in 2.7.0:[11] Performance improvement, new module for DNS Cookies, new module for GeoIP, support for ECS.

New in 2.8.0:[12] Offline-KSK, multithreaded DNSSEC signing, extended ACL for DDNS, zone update speed-up.

New in 2.9.0:[13] Significant zone update speed-up, TCP optimizations, configuration cleanup.

New in 3.0.0:[14] High performance XDP mode for UDP under Linux, catalog zones support, continuous DNSSEC validation, kzonesign and kxdpgun utilities, DoH support in kdig, deterministic ECDSA support, on-line backup of persistent data.[15]

New in 3.1.0:[16] basic DNS over TCP using XDP, routing-aware XDP processing, ZONEMD generation and validation, SVCB/HTTPS support, zone catalog evolution, EDNS error (EDE) support, epoll/kqueue support.

New in 3.2.0:[17] full DNS over TCP using XDP (including transfers), DNS over QUIC in the XDP mode, DNSSEC multi-signer support.

New in 3.3.0:[18] full DNS over QUIC (using both XDP and operating system TCP/IP-stack), bidirectional XFR over QUIC, multi-signer operation mode.

See also

External links

Notes and References

  1. https://www.knot-dns.cz/benchmark/ Response rate benchmark of several OSS authoritative name servers
  2. https://www.knot-dns.cz/docs/2.7/singlehtml/#memory-requirements Knot DNS memory requirements
  3. Web site: DNS response rate speedup by using XDP. Peltan. Libor. Presentation at DNS OARC 32. 2020-02-08. 2020-09-09.
  4. https://www.knot-dns.cz/benchmark/ Knot DNS 3.0 Benchmarking
  5. https://www.knot-dns.cz/2015-12-20-version-210-rc1.html Knot DNS 2.1.0
  6. https://www.knot-dns.cz/2016-04-26-version-220.html Knot DNS 2.2.0
  7. https://www.knot-dns.cz/2016-08-09-version-230.html Knot DNS 2.3.0
  8. https://www.knot-dns.cz/2017-01-18-version-240.html Knot DNS 2.4.0
  9. https://www.knot-dns.cz/2017-06-05-version-250.html Knot DNS 2.5.0
  10. https://www.knot-dns.cz/2017-09-29-version-260.html Knot DNS 2.6.0
  11. https://www.knot-dns.cz/2018-08-03-version-270.html Knot DNS 2.7.0
  12. https://www.knot-dns.cz/2019-03-05-version-280.html Knot DNS 2.8.0
  13. https://www.knot-dns.cz/2019-10-10-version-290.html Knot DNS 2.9.0
  14. https://www.knot-dns.cz/2020-09-09-version-300.html Knot DNS 3.0.0
  15. Web site: Knot DNS 3.0 News. Peltan. Libor. Blog of CZ.NIC staff. 2020-09-09. 2020-09-09.
  16. https://www.knot-dns.cz/2021-08-02-version-310.html Knot DNS 3.1.0
  17. https://www.knot-dns.cz/2022-08-22-version-320.html Knot DNS 3.2.0
  18. https://www.knot-dns.cz/2023-08-28-version-330.html Knot DNS 3.3.0