macOS
brew install stubbylocal Homebrew formula metadata
sudo port install stubbyMacPorts ports tree · net/stubby/Portfile · source: api.github.com
brew
DNS privacy enabled stub resolver service based on getdns. Version 0.4.3 via Homebrew; verified from local package data.
install
brew install stubbylocal Homebrew formula metadata
sudo port install stubbyMacPorts ports tree · net/stubby/Portfile · source: api.github.com
sudo apk add stubbyAlpine Linux edge package indexes · stubby · source: dl-cdn.alpinelinux.org
sudo apt install stubbyDebian stable package indexes · stubby · source: deb.debian.org
sudo dnf install stubbyFedora Rawhide package metadata · stubby · source: dl.fedoraproject.org
nix profile install nixpkgs#stubbynixpkgs package indexes · pkgs/by-name/st/stubby/package.nix · source: api.github.com
sudo pacman -S stubbyArch Linux sync databases · stubby · source: geo.mirror.pkgbuild.com
overview
DNS privacy enabled stub resolver service based on getdns
history
Stubby is a local DNS Privacy stub resolver that sends client DNS queries over DNS-over-TLS. In package-manager terms it is the small daemon people install when they want encrypted first-hop DNS without running a full recursive resolver.
Stubby was developed by the getdns project and documented by the DNS Privacy Project as a daemon for encrypted DNS stub resolution. The official Stubby documentation says that as of August 2017 Stubby moved into its own repository while getdns became the library dependency.
The project grew out of DNS privacy work around DNS-over-TLS, standardized as RFC 7858. NLnet describes Stubby as an open source project intended to put DNS-over-TLS protection on client devices.
The input package facts list Stubby across Homebrew, Debian, Ubuntu, Fedora/DNF, Alpine, Arch, MacPorts, and Nix, which reflects its adoption as a normal operating-system package rather than only a source build.
Its common packaging shape is a daemon plus a YAML configuration file, making it fit the Unix service model used by Linux distributions and Homebrew services.
Stubby listens on loopback addresses, accepts local DNS queries, and forwards them to DNS Privacy resolvers over TLS. The official docs describe strict and opportunistic privacy profiles, upstream resolver configuration, EDNS0 padding, and round-robin upstream behavior.
Users typically install it beside system DNS configuration, point local DNS at Stubby, and edit stubby.yml to choose upstream resolvers and privacy mode.
Stubby matters to package nerds because it is a compact example of post-Snowden privacy infrastructure becoming a packaged background service. It turns a protocol feature, DNS-over-TLS, into something a user can install, configure, and supervise with the same tools used for other Unix daemons.
It is also useful as a comparison point with Unbound, dnscrypt-proxy, and system resolver integrations: each solves private DNS with a different packaging, service, and configuration tradeoff.
security posture
formula declares a Homebrew service.
orange risk · medium confidence · infrastructure
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.
/usr/local/etc/stubby/stubby.ymlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
stubby | cli | global executable | |
stubby-setdns-macos.sh | 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://github.com/getdnsapi/stubby
install metadata
| Package key | brew:stubby |
|---|---|
| Version | 0.4.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/stubby |
| Homepage | https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby |
| Repository | https://github.com/getdnsapi/stubby |
| Upstream docs | https://dnsprivacy.org/dns_privacy_daemon_-_stubby |
| License | BSD-3-Clause |
| Source archive | https://github.com/getdnsapi/stubby/archive/refs/tags/v0.4.3.tar.gz |
| Dependencies | getdns, libidn2, libyaml, openssl@3, unbound |
| Build dependencies | cmake, libtool |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | stubby |
| Version Scheme | 0 |
| Revision | 1 |
| 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.
stubby 1.6.0-3.2
modern asynchronous DNS API (stub resolver)
sudo apt install stubbystubby
nix profile install nixpkgs#stubbystubby 1.6.0-3.1build3
modern asynchronous DNS API (stub resolver)
sudo apt install stubbystubby 0.4.3-r2
DNS Privacy stub resolver
https://dnsprivacy.org/dns_privacy_daemon_-_stubby/
sudo apk add stubbystubby-doc 0.4.3-r2
DNS Privacy stub resolver (documentation)
https://dnsprivacy.org/dns_privacy_daemon_-_stubby/
sudo apk add stubby-docstubby-openrc 0.4.3-r2
DNS Privacy stub resolver (OpenRC init scripts)
https://dnsprivacy.org/dns_privacy_daemon_-_stubby/
sudo apk add stubby-openrcstubby 0.4.3-8.fc44
Application that act as a local DNS Privacy stub resolver
https://github.com/getdnsapi/stubby
sudo dnf install stubbystubby 0.4.3-2
DNS Privacy stub resolver
https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby
sudo pacman -S stubbystubby
sudo port install stubbysource 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.