NLnetLabs/unbound

GitHub: NLnetLabs/unbound

Unbound 是一个用 C 语言编写的高性能、支持 DNSSEC 验证的递归缓存 DNS 解析器,旨在提供安全快速的域名解析服务。

Stars: 4381 | Forks: 432

# Unbound [![Github 构建状态](https://static.pigsec.cn/wp-content/uploads/repos/2026/04/dbfff02e0e092418.svg)](https://github.com/NLnetLabs/unbound/actions) [![打包状态](https://repology.org/badge/tiny-repos/unbound.svg)](https://repology.org/project/unbound/versions) [![模糊测试状态](https://oss-fuzz-build-logs.storage.googleapis.com/badges/unbound.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:unbound) [![文档状态](https://readthedocs.org/projects/unbound/badge/?version=latest)](https://unbound.readthedocs.io/en/latest/?badge=latest) [![Mastodon 关注](https://img.shields.io/mastodon/follow/114692612288811644?domain=social.nlnetlabs.nl&style=social)](https://social.nlnetlabs.nl/@nlnetlabs) Unbound 是一个支持验证、递归和缓存的 DNS 解析器。它被设计为 快速且轻量级,并融合了基于开放标准的现代特性。如果您 有任何反馈意见,我们非常乐意倾听。请随时 [在 Github 上创建 Issue](https://github.com/NLnetLabs/unbound/issues/new) 或在 [Unbound 邮件列表](https://lists.nlnetlabs.nl/mailman/listinfo/unbound-users) 上发帖。 您可以通过阅读我们的 [文档](https://unbound.docs.nlnetlabs.nl/) 来了解更多关于 Unbound 的信息。 ## 编译 请确保您已安装 C 工具链、OpenSSL 及其头文件,以及 libexpat 。 如果是从仓库源码进行构建,您还需要安装 flex 和 bison。 可以使用以下命令编译并安装 Unbound: ``` ./configure && make && make install ``` 如果您愿意,可以使用 libevent。当使用大量(例如, 10000 个)出站端口时,libevent 会非常有用。 使用 `--with-libevent` configure 选项来编译带有 libevent 支持的 Unbound。 如果不使用,默认的内置替代方案最多同时打开 256 个端口 ,其功能同样强大,并且速度稍快。 ## Unbound 配置 Unbound 的所有配置选项都在 `unbound.conf(5)` man 手册页中进行了描述,该手册页会被安装,并且也可以在 Unbound [文档页面](https://unbound.docs.nlnetlabs.nl/en/latest/manpages/unbound.conf.html) 的最新版本中找到。 一个包含最少文档的示例配置文件位于 [doc/example.conf](https://github.com/NLnetLabs/unbound/blob/master/doc/example.conf.in) 中。
标签:DNSSEC验证, DNS服务器, DNS缓存, DNS解析器, Linux网络服务, NLnet Labs, OpenSSL, Unbound, 内核驱动, 域名系统, 基础网络设施, 安全测试工具, 客户端加密, 服务器软件, 系统运维, 缓存DNS, 网络协议, 网络安全, 递归DNS, 递归查询, 隐私保护