# Install doh with Homebrew, dnf, zypper

Stand-alone DNS-over-HTTPS resolver using libcurl. Version 0.1 via Homebrew; verified from local package data. Also installable with dnf: sudo dnf install doh.

## 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:doh
- **Package manager:** Homebrew
- **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>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- doh (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.1
## 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

## Other Package-Manager Records

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


## Combined YAML source

View the package source record on GitHub. [combined/doh.yml](https://github.com/mxcl/pkgdb/blob/main/combined/doh.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
