System administration

Knot Resolver – scalable caching DNS resolver

Knot Resolver is a caching recursive DNS resolver. It is designed to scale from small personal deployments through to heavily loaded resolver infrastructure.

Its core architecture combines C and LuaJIT and exposes a state-machine-like API that can be extended with modules. A Python management component provides a higher-level interface for configuring and operating the resolver.

Knot Resolver takes a shared-nothing approach to scaling. Independent workers can be assigned to available CPU cores and added or removed without interrupting service, while its MVCC cache can be shared where appropriate. This makes the software suitable for both compact installations and systems handling substantial DNS traffic.

This is free and open source software.

Key Features

  • Performs full recursive DNS resolution with caching.
  • Validates DNSSEC responses using its built-in validator module.
  • Supports DNS-over-TLS, DNS-over-HTTPS and DNS-over-QUIC.
  • Provides a persistent cache designed to maintain a low memory footprint.
  • Offers declarative configuration through YAML.
  • Provides an HTTP API for dynamic resolver configuration.
  • Supports strong filtering and policy rules.
  • Can use etcd to assist with automatic configuration in larger deployments.
  • Provides extensibility through LuaJIT modules.
  • Includes strong DNS-over-TCP support with query pipelining and deduplication.
  • Supports TCP Fast Open and response reordering.
  • Automatically manages multiple resolver workers according to available resources.

Website: github.com/CZ-NIC/knot-resolver
Support:
Developer: CZ.NIC
License: GNU General Public License v3.0

Knot Resolver is mainly written in C, with LuaJIT and Python components. Learn C with our recommended free books and free tutorials.


Related Software

DNS Servers
BINDFlexible, full-featured DNS system
PowerDNSAuthoritative server, the Recursor, and Dnsdist
Knot ResolverScalable caching resolver with DNSSEC validation and flexible policy
TechnitiumSelf host a DNS server for privacy and security
UnboundValidating, recursive, caching DNS resolver
SDNSFast recursive DNS resolver with built-in DNSSEC validation
HickoryRust-based DNS client, server and resolver
rDNSCompact DNS server supporting recursive and authoritative operation
MaraDNSSmall DNS server

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted