macOS
brew install knot-resolverlocal Homebrew formula metadata
sudo port install knot-resolverMacPorts ports tree · net/knot-resolver/Portfile · source: api.github.com
brew
Minimalistic, caching, DNSSEC-validating DNS resolver. Version 6.4.0 via Homebrew; verified 2026-07-04.
install
brew install knot-resolverlocal Homebrew formula metadata
sudo port install knot-resolverMacPorts ports tree · net/knot-resolver/Portfile · source: api.github.com
sudo apk add knot-resolverAlpine Linux edge package indexes · knot-resolver · source: dl-cdn.alpinelinux.org
sudo apt install knot-resolverDebian stable package indexes · knot-resolver · source: deb.debian.org
sudo dnf install knot-resolverFedora Rawhide package metadata · knot-resolver · source: dl.fedoraproject.org
sudo pacman -S knot-resolverArch Linux sync databases · knot-resolver · source: geo.mirror.pkgbuild.com
overview
Minimalistic, caching, DNSSEC-validating DNS resolver
history
Knot Resolver is CZ.NIC's caching, DNSSEC-validating recursive resolver, built as the resolver-side member of the Knot DNS family. Its package-manager identity matters because it is both a server daemon and a scriptable DNS platform: the Homebrew formula installs command-line tools such as kresd, kresctl, and cache maintenance utilities, while Unix packages place it beside other serious recursive resolvers.
The project reached its first public 1.0.0 release on 2016-05-30. Its early design combined a small C core with Lua/LuaJIT scripting and optional modules, a contrast with larger monolithic resolver codebases. The 1.1.0 release on 2016-08-12 already added features that became important to modern recursive DNS operations, including DNS Cookies, DNS over TLS, Prometheus metrics, query minimisation improvements, and a DNS firewall module.
Knot Resolver later split from the older ReadTheDocs-hosted documentation flow into CZ.NIC-controlled GitLab Pages documentation for the 6.x series, while keeping a stable public website and development repository under the CZ.NIC GitLab. The project remained tightly related to Knot DNS but serves the opposite side of DNS: recursive/caching resolution rather than authoritative zone service.
CZ.NIC presents Knot Resolver as scalable from home routers to large resolver farms. The project website records operational adoption beyond CZ.NIC, including CETIN using it in infrastructure since 2017 and Cloudflare describing it as a cornerstone of the 1.1.1.1 public resolver service.
Its adoption story is package-nerd relevant because recursive resolver software is often chosen conservatively. A resolver that appears in Homebrew, Debian, Fedora, Arch, Alpine, MacPorts, and Ubuntu packaging occupies a practical testing and operations lane next to Unbound, BIND, PowerDNS Recursor, and systemd-resolved.
Users install Knot Resolver to run local, organizational, ISP, or public recursive DNS service with DNSSEC validation and caching. Its module system is central to usage: policy rules, forwarding, DNS-over-TLS, DNS-over-HTTPS, metrics, cache behavior, and filtering can be adjusted without treating the daemon as a black box.
The package also exposes companion tools for control and maintenance, so it is not just a background daemon formula. In package sets, that makes it useful to DNS operators who want reproducible installs on laptops, CI images, lab hosts, and production-like Unix systems.
Knot Resolver is interesting to package maintainers because it combines a network daemon, a scripting/runtime layer, DNSSEC crypto dependencies, system service integration, and changing configuration formats. Those are the things that expose weak packaging: wrong paths, missing service users, broken Lua module paths, or mismatched library versions show up quickly.
It also represents the post-2010 shift in DNS software toward encrypted transports, observability, and programmable policy. For users browsing package indexes, it is the recursive counterpart to Knot DNS and one of the few widely packaged alternatives that is both modern and registry-backed.
security posture
formula declares a Homebrew service.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/knot-resolver/config.yamlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
knot-resolver | cli | global executable | |
kres-cache-gc | cli | global executable | |
kresctl | cli | global executable | |
kresd | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:knot-resolver |
|---|---|
| Version | 6.4.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/knot-resolver |
| Homepage | https://www.knot-resolver.cz |
| Repository | https://gitlab.nic.cz/knot/knot-resolver.git |
| Upstream docs | https://www.knot-resolver.cz/documentation |
| License | CC0-1.0 AND GPL-3.0-or-later AND LGPL-2.1-or-later AND MIT |
| Source archive | https://knot-resolver.nic.cz/release/knot-resolver-6.4.0.tar.xz |
| Last updated | 2026-07-04T13:13:40+09:00 |
| Pulse | updated |
| Dependencies | fstrm, gnutls, knot, libnghttp2, libuv, libyaml, lmdb, luajit, protobuf-c, python@3.14 |
| Build dependencies | meson, ninja, pkgconf |
| Uses from macOS | libedit |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | knot-resolver |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
knot-resolver 5.7.5-1
caching, DNSSEC-validating DNS resolver
sudo apt install knot-resolverknot-resolver-doc 5.7.5-1
Documentation for Knot Resolver
sudo apt install knot-resolver-docknot-resolver-module-http 5.7.5-1
HTTP module for Knot Resolver
sudo apt install knot-resolver-module-httpknot-resolver 5.7.2-1
caching, DNSSEC-validating DNS resolver
sudo apt install knot-resolverknot-resolver-doc 5.7.2-1
Documentation for Knot Resolver
sudo apt install knot-resolver-docknot-resolver-module-http 5.7.2-1
HTTP module for Knot Resolver
sudo apt install knot-resolver-module-httpknot-resolver 5.7.6-r0
Minimalistic caching DNS resolver implementation
sudo apk add knot-resolverknot-resolver-dbg 5.7.6-r0
Minimalistic caching DNS resolver implementation (debug symbols)
sudo apk add knot-resolver-dbgknot-resolver-dev 5.7.6-r0
Minimalistic caching DNS resolver implementation (development files)
sudo apk add knot-resolver-devknot-resolver-doc 5.7.6-r0
Minimalistic caching DNS resolver implementation (documentation)
sudo apk add knot-resolver-docknot-resolver-libs-static 5.7.6-r0
Minimalistic caching DNS resolver implementation (static library)
sudo apk add knot-resolver-libs-staticknot-resolver-mod-dnstap 5.7.6-r0
Knot Resolver - dnstap logging
sudo apk add knot-resolver-mod-dnstapknot-resolver-mod-http 5.7.6-r0
Knot Resolver - HTTP/2 services
sudo apk add knot-resolver-mod-httpknot-resolver-openrc 5.7.6-r0
Minimalistic caching DNS resolver implementation (OpenRC init scripts)
sudo apk add knot-resolver-openrcknot-resolver 5.7.6-3.fc44
Caching full DNS Resolver
sudo dnf install knot-resolverknot-resolver-devel 5.7.6-3.fc44
Development headers for Knot Resolver
sudo dnf install knot-resolver-develsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.