# Install doh with Homebrew, dnf, zypper

Stand-alone DNS-over-HTTPS resolver using libcurl. Version 0.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:doh
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install doh
```

  Evidence: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install doh
```

  Evidence: Fedora Rawhide package metadata: doh from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install doh
```

  Evidence: openSUSE Tumbleweed package metadata: doh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:doh
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/doh>
- **Version:** 0.1
- **Source summary:** Stand-alone DNS-over-HTTPS resolver using libcurl
- **Homepage:** <https://github.com/curl/doh>
- **Repository:** <https://github.com/curl/doh>
- **Upstream docs:** <https://github.com/curl/doh#readme>
- **License:** MIT
- **Source archive:** <https://github.com/curl/doh/archive/refs/tags/doh-0.1.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- doh (cli)
- doh (alias)

## Uses from macOS

- curl

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.1
- Local data: ok
- Upstream repository: https://github.com/curl/doh
- Upstream latest detected: doh-0.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

doh is a small curl project utility: a stand-alone DNS-over-HTTPS resolver built on libcurl.

### Project history

The curl/doh repository was created in April 2018, during the period when DNS-over-HTTPS was moving from emerging protocol work into practical client tooling. Its README describes a libcurl-using application that resolves host names through DoH and uses POST requests unconditionally.

The project has stayed deliberately small. GitHub lists a single 0.1 release from September 2019, while the README keeps the interface to a simple form: doh options, a host, and an optional DoH URL.

### Adoption history

doh is more of a reference-quality utility from the curl orbit than a mass-adopted DNS client. Its adoption significance comes from being packaged and visible as a standalone libcurl DoH example at the exact layer where curl users think about HTTP transport behavior.

### How it is used

The command resolves a hostname through a DoH server, defaulting to Cloudflare when no DoH URL is supplied. The README examples also show targeting Google's DoH endpoint explicitly.

### Why package nerds care

For package maintainers, doh is interesting because it exposes DNS-over-HTTPS as a tiny installable command rather than as a feature hidden inside a larger resolver or browser stack. It is also a compact libcurl demonstration for network debugging.

### Timeline

- 2018: curl/doh repository created.
- 2019: doh-0.1 release published.
- 2026: Repository still receives maintenance activity, but remains a compact single-purpose tool.

### Related projects

- doh belongs to the curl/libcurl ecosystem and overlaps with DoH-capable DNS clients such as doggo and doge, while staying narrower than general DNS tools like dig.

### Sources

- <https://github.com/curl/doh#readme>
- <https://api.github.com/repos/curl/doh>
- <https://github.com/curl/doh/releases/tag/doh-0.1>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** doh
- **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:** head, stable

## Other Package-Manager Records

- dnf - doh - 0.1^1.8654bc9-4.fc44: normalized package name match | Fedora Rawhide package metadata: doh from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Application for DNS-over-HTTPS name resolves and lookups | https://github.com/curl/doh
- zypper - doh - 0.1-1.21: normalized package name match | openSUSE Tumbleweed package metadata: doh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Simple DoH (DNS-over-HTTPS) client | https://github.com/curl/doh


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [adns](https://www.automicvault.com/pkg/brew/adns/) - Shares av.db curated category or tags: cli, dns, networking, resolver.
- [c-ares](https://www.automicvault.com/pkg/brew/c-ares/) - Shares av.db curated category or tags: cli, dns, networking, resolver.
- [djbdns](https://www.automicvault.com/pkg/brew/djbdns/) - Shares av.db curated category or tags: cli, dns, networking, resolver.
- [doge](https://www.automicvault.com/pkg/brew/doge/) - Shares av.db curated category or tags: cli, dns, dns-over-https, networking.
- [doggo](https://www.automicvault.com/pkg/brew/doggo/) - Shares av.db curated category or tags: cli, dns, dns-over-https, networking.
- [getdns](https://www.automicvault.com/pkg/brew/getdns/) - Shares av.db curated category or tags: cli, dns, networking, resolver.
- [hickory-dns](https://www.automicvault.com/pkg/brew/hickory-dns/) - Shares av.db curated category or tags: cli, dns, networking, resolver.
- [knot-resolver](https://www.automicvault.com/pkg/brew/knot-resolver/) - Shares av.db curated category or tags: cli, dns, networking, resolver.
- [massdns](https://www.automicvault.com/pkg/brew/massdns/) - Local package facts share a topical domain. Shared terms: cli, dns, networking, resolver.
- [domain-check](https://www.automicvault.com/pkg/brew/domain-check/) - Local package facts share a topical domain. Shared terms: cli, dns, networking, using.

## Combined YAML source

View the package source record on GitHub. [combined/doh.yml](https://github.com/automic-vault/db/blob/main/combined/doh.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
