Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, pacman 安装 knot-resolver

查看 knot-resolver 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install knot-resolver

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install knot-resolver

MacPorts ports tree · net/knot-resolver/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add knot-resolver

Alpine Linux edge package indexes · knot-resolver · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install knot-resolver

Debian stable package indexes · knot-resolver · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install knot-resolver

Fedora Rawhide package metadata · knot-resolver · 来源: dl.fedoraproject.org

Arch Linux pacman已验证 · 92%
sudo pacman -S knot-resolver

Arch Linux sync databases · knot-resolver · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Minimalistic, caching, DNSSEC-validating DNS resolver

命令和别名

  • knot-resolver
  • kres-cache-gc
  • kresctl
  • kresd

历史

项目历史与用法

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.

时间线

  • 2016-05-30: Knot Resolver 1.0.0 initial release.
  • 2016-08-12: Knot Resolver 1.1.0 added DNS Cookies, DNS over TLS, Prometheus metrics, and query-minimisation improvements.
  • 2017: CETIN adoption is described by CZ.NIC's project site as part of its infrastructure history.
  • 2024-2025: The 5.7.x release series included KeyTrap-related DNSSEC hardening and maintenance updates.
  • 2026-06-16: CZ.NIC announced Knot Resolver 6.4.0 on the project website.

Related projects

  • Knot DNS is the authoritative DNS server in the same CZ.NIC family. Knot Resolver commonly appears in comparisons with Unbound, BIND, PowerDNS Recursor, and systemd-resolved because all can occupy recursive DNS roles, though their architecture and operational tradeoffs differ.

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 10 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/knot-resolver/config.yaml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
knot-resolvercli全局可执行文件
kres-cache-gccli全局可执行文件
kresctlcli全局可执行文件
kresdcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本6.4.0
管理器更新时间2026-07-04
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.knot-resolver.cz

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nameknot-resolver
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

knot-resolver 5.7.5-1

caching, DNSSEC-validating DNS resolver

https://www.knot-resolver.cz/

sudo apt install knot-resolver
  • Section: net
  • Architecture: amd64
  • 22 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Knot Resolver
Debian stable package indexes · deb.debian.org · Debian stable package indexes: knot-resolver from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

knot-resolver-doc 5.7.5-1

Documentation for Knot Resolver

https://www.knot-resolver.cz/

sudo apt install knot-resolver-doc
  • Section: doc
  • Architecture: all
  • Source Package: knot-resolver
  • 2 依赖
  • normalized package name match
  • 匹配方式:Knot Resolver
Debian stable package indexes · deb.debian.org · Debian stable package indexes: knot-resolver-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

knot-resolver-module-http 5.7.5-1

HTTP module for Knot Resolver

https://www.knot-resolver.cz/

sudo apt install knot-resolver-module-http
  • Section: net
  • Architecture: amd64
  • Source Package: knot-resolver
  • 6 依赖
  • normalized package name match
  • 匹配方式:Knot Resolver
Debian stable package indexes · deb.debian.org · Debian stable package indexes: knot-resolver-module-http from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

knot-resolver 5.7.2-1

caching, DNSSEC-validating DNS resolver

https://www.knot-resolver.cz/

sudo apt install knot-resolver
  • Section: universe/net
  • Architecture: amd64
  • 23 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Knot Resolver
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: knot-resolver from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

knot-resolver-doc 5.7.2-1

Documentation for Knot Resolver

https://www.knot-resolver.cz/

sudo apt install knot-resolver-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: knot-resolver
  • 2 依赖
  • normalized package name match
  • 匹配方式:Knot Resolver
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: knot-resolver-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

knot-resolver-module-http 5.7.2-1

HTTP module for Knot Resolver

https://www.knot-resolver.cz/

sudo apt install knot-resolver-module-http
  • Section: universe/net
  • Architecture: amd64
  • Source Package: knot-resolver
  • 6 依赖
  • normalized package name match
  • 匹配方式:Knot Resolver
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: knot-resolver-module-http from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

knot-resolver 5.7.6-r0

Minimalistic caching DNS resolver implementation

https://www.knot-resolver.cz/

sudo apk add knot-resolver
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: knot-resolver
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Knot Resolver
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: knot-resolver from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

knot-resolver-dbg 5.7.6-r0

Minimalistic caching DNS resolver implementation (debug symbols)

https://www.knot-resolver.cz/

sudo apk add knot-resolver-dbg
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: knot-resolver
  • 1 依赖
  • normalized package name match
  • 匹配方式:Knot Resolver
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: knot-resolver-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

knot-resolver-dev 5.7.6-r0

Minimalistic caching DNS resolver implementation (development files)

https://www.knot-resolver.cz/

sudo apk add knot-resolver-dev
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: knot-resolver
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Knot Resolver
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: knot-resolver-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

knot-resolver-doc 5.7.6-r0

Minimalistic caching DNS resolver implementation (documentation)

https://www.knot-resolver.cz/

sudo apk add knot-resolver-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: knot-resolver
  • normalized package name match
  • 匹配方式:Knot Resolver
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: knot-resolver-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

knot-resolver-libs-static 5.7.6-r0

Minimalistic caching DNS resolver implementation (static library)

https://www.knot-resolver.cz/

sudo apk add knot-resolver-libs-static
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: knot-resolver
  • 1 依赖
  • normalized package name match
  • 匹配方式:Knot Resolver
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: knot-resolver-libs-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

knot-resolver-mod-dnstap 5.7.6-r0

Knot Resolver - dnstap logging

https://www.knot-resolver.cz/

sudo apk add knot-resolver-mod-dnstap
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: knot-resolver
  • 1 依赖
  • normalized package name match
  • 匹配方式:Knot Resolver
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: knot-resolver-mod-dnstap from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

knot-resolver-mod-http 5.7.6-r0

Knot Resolver - HTTP/2 services

https://www.knot-resolver.cz/

sudo apk add knot-resolver-mod-http
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: knot-resolver
  • 1 依赖
  • normalized package name match
  • 匹配方式:Knot Resolver
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: knot-resolver-mod-http from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

knot-resolver-openrc 5.7.6-r0

Minimalistic caching DNS resolver implementation (OpenRC init scripts)

https://www.knot-resolver.cz/

sudo apk add knot-resolver-openrc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: knot-resolver
  • 1 依赖
  • normalized package name match
  • 匹配方式:Knot Resolver
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: knot-resolver-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

knot-resolver 5.7.6-3.fc44

Caching full DNS Resolver

https://www.knot-resolver.cz/

sudo dnf install knot-resolver
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: knot-resolver
  • 24 依赖
  • 5 提供
  • normalized package name match
  • 匹配方式:Knot Resolver
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: knot-resolver from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

knot-resolver-devel 5.7.6-3.fc44

Development headers for Knot Resolver

https://www.knot-resolver.cz/

sudo dnf install knot-resolver-devel
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: knot-resolver
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Knot Resolver
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: knot-resolver-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment