macOS
brew install ldnslocal Homebrew formula metadata
安装
brew install ldnslocal Homebrew formula metadata
sudo apk add ldnsAlpine Linux edge package indexes · ldns · 来源: dl-cdn.alpinelinux.org
sudo dnf install ldnsFedora Rawhide package metadata · ldns · 来源: dl.fedoraproject.org
nix profile install nixpkgs#ldnsnixpkgs package indexes · pkgs/by-name/ld/ldns/package.nix · 来源: api.github.com
sudo pacman -S ldnsArch Linux sync databases · ldns · 来源: geo.mirror.pkgbuild.com
sudo zypper install ldnsopenSUSE Tumbleweed package metadata · ldns · 来源: download.opensuse.org
sudo apt install ldnsutilsDebian stable package indexes · ldnsutils · 来源: deb.debian.org
概览
DNS library written in C
历史
ldns is NLnet Labs' C library for DNS and DNSSEC programming, accompanied by command-line tools such as drill and many DNSSEC utilities. NLnet Labs describes its goal as simplifying DNS programming in C while supporting low-level DNS and DNSSEC operations.
The project appeared in 2005 during the period when DNSSEC tooling was maturing. Its changelog records a first usable 0.50 release in May 2005, an online repository in June 2005, and a 1.0.0 release in October 2005 that added drill to ldns, zonefile parsing, an experimental signer, and a BSD license.
ldns evolved into both a library and a toolbox. Drill, originally important enough that documentation says part of ldns was derived from it, became included in ldns releases from version 1.0.0 onward. The examples directory grew into a collection of practical DNSSEC and zone tools, including signers, validators, key helpers, and packet utilities.
Later releases tracked DNS standards work. The changelog records additions such as NSEC3-related utilities, DANE support in 2012, SVCB/HTTPS support in the 1.8 series, and newer resource-record handling in the 1.9 series. NLnet Labs stated that ldns entered maintenance mode in 2020, with ongoing fixes and occasional experimental use rather than broad feature expansion.
ldns gained adoption among DNS implementers, operators, and package maintainers because it offered a C API plus ready-to-run diagnostic tools. Distribution packaging reflects that split: some systems package the tools as ldnsutils or drill while others package the library and tools together.
The project also became a bridge between DNS research and production packaging. NLnet Labs explicitly notes use for proof-of-concept work around Internet Drafts, while the maintained command-line tools made it useful for operators who needed DNSSEC-aware zone inspection, signing, verification, and query tracing.
Developers use the library through ldns structures such as resource records, packets, zones, and resolvers. Command-line users most often encounter drill as a dig-like DNS inspection tool and the ldns-* utilities for DNSSEC key, zone, signing, walking, comparison, and verification workflows.
The documentation stresses OpenSSL-backed cryptographic features, optional builds without OpenSSL, IPv4/IPv6 support, TSIG, DNSSEC signing and verification, manual pages, and API documentation.
ldns matters to package nerds because it is a compact DNSSEC lab in package form: a C library, a resolver/query tool, many small executables, optional crypto features, Python bindings, and a long changelog tied to RFC and draft support. It is also a good example of an upstream declaring a maintenance-mode successor path while keeping old Unix packages useful.
NLnet Labs names the Rust domain library as the natural successor to the ldns library, dnst as drop-in replacements for common example utilities, and dnsi as a reimagined DNS inspection tool. That makes ldns a legacy-but-alive package with clear lineage into newer NLnet Labs DNS tooling.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ldns-chaos | cli | 全局可执行文件 | |
ldns-compare-zones | cli | 全局可执行文件 | |
ldns-config | cli | 全局可执行文件 | |
ldns-dane | cli | 全局可执行文件 | |
ldns-dpa | cli | 全局可执行文件 | |
ldns-gen-zone | cli | 全局可执行文件 | |
ldns-key2ds | cli | 全局可执行文件 | |
ldns-keyfetcher | cli | 全局可执行文件 | |
ldns-keygen | cli | 全局可执行文件 | |
ldns-mx | cli | 全局可执行文件 | |
ldns-notify | cli | 全局可执行文件 | |
ldns-nsec3-hash | cli | 全局可执行文件 | |
ldns-read-zone | cli | 全局可执行文件 | |
ldns-resolver | cli | 全局可执行文件 | |
ldns-revoke | cli | 全局可执行文件 | |
ldns-rrsig | cli | 全局可执行文件 | |
ldns-signzone | cli | 全局可执行文件 | |
ldns-test-edns | cli | 全局可执行文件 | |
ldns-testns | cli | 全局可执行文件 | |
ldns-update | cli | 全局可执行文件 | |
ldns-verify-zone | cli | 全局可执行文件 | |
ldns-version | cli | 全局可执行文件 | |
ldns-walk | cli | 全局可执行文件 | |
ldns-zcat | cli | 全局可执行文件 | |
ldns-zsplit | cli | 全局可执行文件 | |
ldnsd | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://nlnetlabs.nl/projects/ldns/
安装元数据
| 软件包键 | brew:ldns |
|---|---|
| 版本 | 1.9.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ldns |
| 主页 | https://nlnetlabs.nl/projects/ldns/ |
| 仓库 | https://github.com/NLnetLabs/ldns |
| 上游文档 | https://nlnetlabs.nl/documentation/ldns |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://nlnetlabs.nl/downloads/ldns/ldns-1.9.2.tar.gz |
| 最后更新 | 2026-06-22T14:05:09-07:00 |
| Pulse | updated |
| 依赖 | openssl@3, python@3.14 |
| 构建依赖 | swig |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ldns |
| Version Scheme | 0 |
| Revision | 0 |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
ldnsutils 1.8.4-2+b1
ldns library for DNS programming - tools (includes drill tool)
https://www.nlnetlabs.nl/projects/ldns/about/
sudo apt install ldnsutilslibldns-dev 1.8.4-2+b1
ldns library for DNS programming - development files
https://www.nlnetlabs.nl/projects/ldns/about/
sudo apt install libldns-devlibldns3t64 1.8.4-2+b1
ldns library for DNS programming - shared library
https://www.nlnetlabs.nl/projects/ldns/about/
sudo apt install libldns3t64python3-ldns 1.8.4-2+b1
ldns library for DNS programming - Python3 bindings
https://www.nlnetlabs.nl/projects/ldns/about/
sudo apt install python3-ldnsldns
nix profile install nixpkgs#ldnsldnsutils 1.8.3-2build1
ldns library for DNS programming - tools (includes drill tool)
https://www.nlnetlabs.nl/projects/ldns/about/
sudo apt install ldnsutilslibldns-dev 1.8.3-2build1
ldns library for DNS programming - development files
https://www.nlnetlabs.nl/projects/ldns/about/
sudo apt install libldns-devlibldns3t64 1.8.3-2build1
ldns library for DNS programming - shared library
https://www.nlnetlabs.nl/projects/ldns/about/
sudo apt install libldns3t64python3-ldns 1.8.3-2build1
ldns library for DNS programming - Python3 bindings
https://www.nlnetlabs.nl/projects/ldns/about/
sudo apt install python3-ldnsdrill 1.8.4-r1
DNS(SEC) query tool ala dig
https://nlnetlabs.nl/projects/ldns/
sudo apk add drillldns 1.8.4-r1
Lowlevel DNS(SEC) library
https://nlnetlabs.nl/projects/ldns/
sudo apk add ldnsldns-dev 1.8.4-r1
Lowlevel DNS(SEC) library (development files)
https://nlnetlabs.nl/projects/ldns/
sudo apk add ldns-devldns-doc 1.8.4-r1
Lowlevel DNS(SEC) library (documentation)
https://nlnetlabs.nl/projects/ldns/
sudo apk add ldns-docldns-static 1.8.4-r1
Lowlevel DNS(SEC) library (static library)
https://nlnetlabs.nl/projects/ldns/
sudo apk add ldns-staticldns-tools 1.8.4-r1
ldns example tools
https://nlnetlabs.nl/projects/ldns/
sudo apk add ldns-toolsldns 1.9.0-8.fc45
Low-level DNS(SEC) library with API
https://www.nlnetlabs.nl/ldns/
sudo dnf install ldns来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.