macOS
brew install adnslocal Homebrew formula metadata
安装
brew install adnslocal Homebrew formula metadata
sudo dnf install adnsFedora Rawhide package metadata · adns · 来源: dl.fedoraproject.org
nix profile install nixpkgs#adnsnixpkgs package indexes · pkgs/by-name/ad/adns/package.nix · 来源: api.github.com
sudo pacman -S adnsArch Linux sync databases · adns · 来源: geo.mirror.pkgbuild.com
sudo zypper install adnsopenSUSE Tumbleweed package metadata · adns · 来源: download.opensuse.org
sudo apt install adns-toolsDebian stable package indexes · adns-tools · 来源: deb.debian.org
概览
C/C++ resolver library and DNS resolver utilities
历史
GNU adns is Ian Jackson's asynchronous-capable DNS resolver library for C and C++ programs, accompanied by command-line resolver utilities. It offers a nonblocking resolver API and utility programs such as adnshost, adnslogres, and adnsresfilter.
The official homepage describes adns as an advanced, easy-to-use DNS client library and utilities collection. It contrasts adns with gethostbyname and libresolv by emphasizing asynchronous operation, multiple simultaneous queries, decoded response structures, sanity checking, explicit resolver state, and conventional resolv.conf support.
The official previous-versions directory shows public release tarballs starting with adns 0.1 in April 1999, progressing through 1.0 in 2000, 1.5.x in the 2010s, and 1.6.x releases in the 2020s. The homepage also points to a master git repository browser and notes that adns is available from GNU Project FTP servers and mirrors.
adns became a GNU-distributed resolver component with both library and scriptable CLI use cases. The supplied package metadata shows broad packaging under Homebrew, Debian/Ubuntu adns-tools, Fedora/DNF, MacPorts, Nix, Arch/pacman, and openSUSE zypper.
The homepage lists ecosystem bindings and integrations, including Python bindings, liboop event-loop support, and an MS Visual Studio C++ port. That adoption pattern is very Unix-library-like: one C API, a few small command-line tools, and integrations by event loops and language bindings.
C and C++ programs use adns when they need DNS lookups without blocking on one resolver call at a time. The library can process many queries simultaneously, return decoded records, distinguish failure causes, and use or override conventional resolver configuration.
Shell and scripting users get adnshost for DNS lookups, adnslogres as a faster Apache logresolv-style tool, and adnsresfilter for replacing IP addresses in streamed command output without delaying the stream unnecessarily.
adns is package-nerd interesting because it is a classic Unix networking library packaged alongside small utilities, with GNU distribution, long-running release tarballs, and distro-specific binary splits. It also documents the resolver boundary clearly: it is a stub resolver and expects a real recursive nameserver on the same system or a secure nearby network.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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/resolv.conf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
adnsheloex | cli | 全局可执行文件 | |
adnshost | cli | 全局可执行文件 | |
adnslogres | cli | 全局可执行文件 | |
adnsresfilter | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.chiark.greenend.org.uk/~ian/adns/
安装元数据
| 软件包键 | brew:adns |
|---|---|
| 版本 | 1.6.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/adns |
| 主页 | https://www.chiark.greenend.org.uk/~ian/adns/ |
| 仓库 | https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git/adns.git |
| 上游文档 | https://www.chiark.greenend.org.uk/~ian/adns |
| 许可证 | GPL-3.0-or-later AND LGPL-2.0-or-later |
| 源码归档 | https://www.chiark.greenend.org.uk/~ian/adns/ftp/adns-1.6.2.tar.gz |
| 最后更新 | 2026-05-26T23:37:49-04:00 |
| Pulse | updated |
| 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 | adns |
| 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 软件包链接分开显示。
adns-tools 1.6.1-1
Asynchronous-capable DNS client utilities
http://www.chiark.greenend.org.uk/~ian/adns/
sudo apt install adns-toolslibadns1-dbg 1.6.1-1
Asynchronous-capable DNS client library (debugging symbols)
http://www.chiark.greenend.org.uk/~ian/adns/
sudo apt install libadns1-dbglibadns1-dev 1.6.1-1
Asynchronous-capable DNS client library (development)
http://www.chiark.greenend.org.uk/~ian/adns/
sudo apt install libadns1-devlibadns1t64 1.6.1-1
Asynchronous-capable DNS client library
http://www.chiark.greenend.org.uk/~ian/adns/
sudo apt install libadns1t64adns
nix profile install nixpkgs#adnsadns-tools 1.6.0-2.1ubuntu3
Asynchronous-capable DNS client utilities
http://www.chiark.greenend.org.uk/~ian/adns/
sudo apt install adns-toolslibadns1-dbg 1.6.0-2.1ubuntu3
Asynchronous-capable DNS client library (debugging symbols)
http://www.chiark.greenend.org.uk/~ian/adns/
sudo apt install libadns1-dbglibadns1-dev 1.6.0-2.1ubuntu3
Asynchronous-capable DNS client library (development)
http://www.chiark.greenend.org.uk/~ian/adns/
sudo apt install libadns1-devlibadns1t64 1.6.0-2.1ubuntu3
Asynchronous-capable DNS client library
http://www.chiark.greenend.org.uk/~ian/adns/
sudo apt install libadns1t64adns 1.6.1-6.fc44
Advanced, easy to use, asynchronous-capable DNS client library
http://www.chiark.greenend.org.uk/~ian/adns/
sudo dnf install adnsadns-devel 1.6.1-6.fc44
Asynchronous-capable DNS client library - development files
http://www.chiark.greenend.org.uk/~ian/adns/
sudo dnf install adns-develadns-progs 1.6.1-6.fc44
Asynchronous-capable DNS client library - utility programs
http://www.chiark.greenend.org.uk/~ian/adns/
sudo dnf install adns-progsadns 1.6.1-1
An asyncronous replacement resolver library
https://www.chiark.greenend.org.uk/~ian/adns/
sudo pacman -S adnsadns 1.6.2-1.1
Advanced Easy-to-Use Asynchronous-Capable DNS Utilities
https://www.chiark.greenend.org.uk/~ian/adns/ftp/
sudo zypper install adnslibadns-devel 1.6.2-1.1
Libraries and header files to develop programs with libadns support
https://www.chiark.greenend.org.uk/~ian/adns/ftp/
sudo zypper install libadns-devellibadns1 1.6.2-1.1
Advanced DNS resolver client library
https://www.chiark.greenend.org.uk/~ian/adns/ftp/
sudo zypper install libadns1来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.