macOS
brew install knot-resolverlocal Homebrew formula metadata
sudo port install knot-resolverMacPorts ports tree · net/knot-resolver/Portfile · 来源: api.github.com
安装
brew install knot-resolverlocal Homebrew formula metadata
sudo port install knot-resolverMacPorts ports tree · net/knot-resolver/Portfile · 来源: api.github.com
sudo apk add knot-resolverAlpine Linux edge package indexes · knot-resolver · 来源: dl-cdn.alpinelinux.org
sudo apt install knot-resolverDebian stable package indexes · knot-resolver · 来源: deb.debian.org
sudo dnf install knot-resolverFedora Rawhide package metadata · knot-resolver · 来源: dl.fedoraproject.org
sudo pacman -S knot-resolverArch Linux sync databases · knot-resolver · 来源: geo.mirror.pkgbuild.com
概览
Minimalistic, caching, DNSSEC-validating DNS resolver
历史
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.
安全态势
formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.yaml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
knot-resolver | cli | 全局可执行文件 | |
kres-cache-gc | cli | 全局可执行文件 | |
kresctl | cli | 全局可执行文件 | |
kresd | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:knot-resolver |
|---|---|
| 版本 | 6.4.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/knot-resolver |
| 主页 | https://www.knot-resolver.cz |
| 仓库 | https://gitlab.nic.cz/knot/knot-resolver.git |
| 上游文档 | https://www.knot-resolver.cz/documentation |
| 许可证 | CC0-1.0 AND GPL-3.0-or-later AND LGPL-2.1-or-later AND MIT |
| 源码归档 | https://knot-resolver.nic.cz/release/knot-resolver-6.4.0.tar.xz |
| 最后更新 | 2026-07-04T13:13:40+09:00 |
| Pulse | updated |
| 依赖 | fstrm, gnutls, knot, libnghttp2, libuv, libyaml, lmdb, luajit, protobuf-c, python@3.14 |
| 构建依赖 | meson, ninja, pkgconf |
| macOS 提供的库 | libedit |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.