# 使用 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dnsperf>
- **版本:** 2.15.1
- **来源摘要:** Measure DNS performance by simulating network conditions
- **主页:** <https://www.dns-oarc.net/tools/dnsperf>
- **上游文档:** <https://www.dns-oarc.net/tools/dnsperf>
- **许可证:** Apache-2.0
- **源码归档:** <https://www.dns-oarc.net/files/dnsperf/dnsperf-2.15.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

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

## 依赖

- concurrencykit
- ldns
- libnghttp2
- openssl@3

## 构建依赖

- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.15.1
- 本地数据: OK
- 上游仓库: https://www.dns-oarc.net/tools/dnsperf
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dnsperf
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [ldns](https://pkg.so/zh-hans/brew/ldns/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [dnspyre](https://pkg.so/zh-hans/brew/dnspyre/) - Shares pkgdb curated category or tags: benchmarking, cli, dns, networking, performance-testing.
- [plow](https://pkg.so/zh-hans/brew/plow/) - Shares pkgdb curated category or tags: benchmarking, cli, load-testing, networking.
- [libidn2](https://pkg.so/zh-hans/brew/libidn2/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [libidn](https://pkg.so/zh-hans/brew/libidn/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [dnsmasq](https://pkg.so/zh-hans/brew/dnsmasq/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [bind](https://pkg.so/zh-hans/brew/bind/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [doggo](https://pkg.so/zh-hans/brew/doggo/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [dnsdist](https://pkg.so/zh-hans/brew/dnsdist/) - Local package facts share a topical domain. Shared terms: cli, dns, libnghttp2, load, networking.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
