# Install dnsperf with Homebrew, apk, apt, dnf, MacPorts, Nix

Measure DNS performance by simulating network conditions. Version 2.15.1 via Homebrew; verified from local package data. Also installable with debian: sudo apt install dnsperf.

## Install

```sh
sudo av install brew:dnsperf
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dnsperf
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dnsperf
```

  Evidence: MacPorts ports tree: net/dnsperf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add dnsperf
```

  Evidence: Alpine Linux edge package indexes: dnsperf from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install dnsperf
```

  Evidence: Debian stable package indexes: dnsperf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install dnsperf
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#dnsperf
```

  Evidence: nixpkgs package indexes: pkgs/by-name/dn/dnsperf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:dnsperf
- **Package manager:** Homebrew
- **Version:** 2.15.1
- **Source summary:** Measure DNS performance by simulating network conditions
- **Homepage:** <https://www.dns-oarc.net/tools/dnsperf>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- dnsperf (alias)
- resperf (alias)
- resperf-report (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.15.1
## Project history and usage

dnsperf is a DNS load and latency measurement tool, usually paired with resperf. It is part of the operational DNS toolkit: less a casual diagnostic command than a benchmark tool for operators who need repeatable throughput and latency numbers from authoritative or recursive DNS infrastructure.

### Project history

The official DNS-OARC page and README describe dnsperf and resperf as free tools developed by Nominum/Akamai from 2006 through 2018 and by DNS-OARC since 2019. The archived downloads on the DNS-OARC page preserve the older Nominum/Akamai releases, while the current source repository lives under DNS-OARC on Codeberg.

The project evolved around realistic DNS benchmarking: dnsperf self-paces query load to simulate network conditions, records latency, supports IPv6 query files, and added multithreaded operation for multicore clients. resperf covers the related caching-recursive case by increasing query rate and watching response rate.

### Adoption history

dnsperf has long been packaged as an operator tool rather than an application platform. DNS-OARC publishes release tarballs and checksums, the Homebrew formula distributes it on macOS, and the upstream page points users to sample query data for repeatable benchmark workloads.

### How it is used

Operators feed dnsperf or resperf a file of DNS queries and target DNS servers, then use the results to compare latency, throughput, cache behavior, and upgrade capacity. The README points users to the dnsperf(1) and resperf(1) manual pages, and the upstream page emphasizes using latency output for graphs and planning.

### Why package nerds care

dnsperf matters to package nerds because it is the boring, standard DNS benchmark that shows up when resolver performance claims need numbers. It also carries a useful lineage: commercial DNS tooling from Nominum/Akamai became community-maintained DNS-OARC infrastructure, with release tarballs, checksums, man pages, and sample data.

### Timeline

- 2006: Nominum era begins for dnsperf and resperf.
- 2018: Akamai era ends according to the current DNS-OARC README.
- 2019: DNS-OARC stewardship begins and 2.2.x/2.3.x release tarballs appear on the official release list.
- 2021: dnsperf 2.5.x through 2.9.0 releases are published by DNS-OARC.
- 2026: dnsperf 2.15.1 is published on the DNS-OARC release list.

### Related projects

- resperf ships with dnsperf and covers recursive caching DNS performance. DNS-OARC sample-query-data is the companion data set for benchmark input. LDNS, OpenSSL, nghttp2, json-c, and Concurrency Kit appear in the README as build or feature dependencies.

### Sources

- <https://www.dns-oarc.net/tools/dnsperf>
- <https://codeberg.org/DNS-OARC/dnsperf/src/branch/main/README.md>
- <https://codeberg.org/DNS-OARC/dnsperf/src/branch/main/CHANGES>
- <https://formulae.brew.sh/formula/dnsperf>


## 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

- Debian apt - dnsperf - 2.14.0-5: normalized package name match | Debian stable package indexes: dnsperf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | DNS Performance Testing Tool | https://www.dns-oarc.net/tools/dnsperf
- Nix - dnsperf: normalized package name match | nixpkgs package indexes: pkgs/by-name/dn/dnsperf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dnsperf - 2.14.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: dnsperf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | DNS Performance Testing Tool | https://www.dns-oarc.net/tools/dnsperf
- apk - dnsperf - 2.14.0-r0: normalized package name match | Alpine Linux edge package indexes: dnsperf from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Dnsperf and resperf gather accurate latency and throughput metrics for DNS | https://www.dns-oarc.net/tools/dnsperf
- apk - dnsperf-doc - 2.14.0-r0: normalized package name match | Alpine Linux edge package indexes: dnsperf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Dnsperf and resperf gather accurate latency and throughput metrics for DNS (documentation) | https://www.dns-oarc.net/tools/dnsperf
- dnf - dnsperf - 2.15.0-4.fc45: normalized package name match | Fedora Rawhide package metadata: dnsperf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Benchmarking authorative and recursing DNS servers | https://www.dns-oarc.net/tools/dnsperf
- dnf - dnsperf-queryparse - 2.15.0-4.fc45: normalized package name match | Fedora Rawhide package metadata: dnsperf-queryparse from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Pcap dns query extraction utility | https://www.dns-oarc.net/tools/dnsperf
- MacPorts - dnsperf: normalized package name match | MacPorts ports tree: net/dnsperf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/dnsperf.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dnsperf.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
