# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix 安装 dnsperf

查看 dnsperf 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dnsperf
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dnsperf
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:dnsperf
- **软件包管理器:** Homebrew
- **版本:** 2.15.1
- **来源摘要:** Measure DNS performance by simulating network conditions
- **主页:** <https://www.dns-oarc.net/tools/dnsperf>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dnsperf (别名)
- resperf (别名)
- resperf-report (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.15.1
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

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

### 来源

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


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 其他软件包管理器记录

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


## 来源

- 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
