macOS
brew install adnslocal Homebrew formula metadata
sudo port install adnsMacPorts ports tree · net/adns/Portfile · source: api.github.com
brew
C/C++ resolver library and DNS resolver utilities. Version 1.6.2 via Homebrew; verified 2026-05-26.
install
brew install adnslocal Homebrew formula metadata
sudo port install adnsMacPorts ports tree · net/adns/Portfile · source: api.github.com
sudo apt install adns-toolsDebian stable package indexes · adns-tools · source: deb.debian.org
sudo dnf install adnsFedora Rawhide package metadata · adns · source: dl.fedoraproject.org
nix profile install nixpkgs#adnsnixpkgs package indexes · pkgs/by-name/ad/adns/package.nix · source: api.github.com
sudo pacman -S adnsArch Linux sync databases · adns · source: geo.mirror.pkgbuild.com
sudo zypper install adnsopenSUSE Tumbleweed package metadata · adns · source: download.opensuse.org
overview
C/C++ resolver library and DNS resolver utilities
history
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.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
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.confexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
adnsheloex | cli | global executable | |
adnshost | cli | global executable | |
adnslogres | cli | global executable | |
adnsresfilter | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://www.chiark.greenend.org.uk/~ian/adns/
install metadata
| Package key | brew:adns |
|---|---|
| Version | 1.6.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/adns |
| Homepage | https://www.chiark.greenend.org.uk/~ian/adns/ |
| Repository | https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git/adns.git |
| Upstream docs | https://www.chiark.greenend.org.uk/~ian/adns |
| License | GPL-3.0-or-later AND LGPL-2.0-or-later |
| Source archive | https://www.chiark.greenend.org.uk/~ian/adns/ftp/adns-1.6.2.tar.gz |
| Last updated | 2026-05-26T23:37:49-04:00 |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 libadns1source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.