# dnspyre

> Command-line DNS benchmark tool for stress testing and measuring DNS server performance across UDP, TCP, DoT, DoH, and DoQ protocols.

Stars: 334 · Categories: Network

- Repository: https://github.com/Tantalor93/dnspyre
- Website: https://tantalor93.github.io/dnspyre/
- Page: https://www.trmn.sh/tools/dnspyre

## Overview

dnspyre is a DNS benchmarking tool designed to stress test and measure DNS server performance. It supports multiple DNS protocols including traditional UDP/TCP queries, DNS over TLS (DoT), DNS over HTTPS (DoH), and DNS over QUIC (DoQ). The tool can benchmark servers with various query types (A, AAAA, CNAME, HTTPS) and allows customization of concurrent connections, query volume, and test duration.

The tool provides extensive configuration options for load testing scenarios. Users can specify the number of parallel queries with `--number` and `--concurrency` options, run tests for a specific duration using `--duration`, or create uneven random load patterns with the `--probability` option. This makes it suitable for both simple DNS server validation and complex performance analysis.

Beyond basic benchmarking, dnspyre includes visualization capabilities through CLI histograms and can export results as boxplots, histograms, and line graphs in multiple formats (PNG, SVG, PDF) using `--plot` and `--plotf` options. The tool runs on macOS, Linux, and Windows, making it accessible for network administrators, DevOps engineers, and DNS infrastructure teams who need to validate DNS server performance under load.

![dnspyre CLI demo](https://raw.githubusercontent.com/Tantalor93/dnspyre/master/docs/assets/demo.gif)

## Alternatives

- [lssh](https://www.trmn.sh/tools/lssh.md): TUI-based SSH client for managing multiple servers with parallel commands and local bashrc forwarding (Go, 328 stars)
- [domain-check](https://www.trmn.sh/tools/domain-check.md): CLI tool for fast domain availability checking across 1,200+ TLDs with RDAP/WHOIS support and batch processing (306 stars)
- [bitchat-tui](https://www.trmn.sh/tools/bitchat-tui.md): Terminal UI client for BitChat, a peer-to-peer chat protocol that runs over Bluetooth Low Energy without internet connection (378 stars)
- [cidr](https://www.trmn.sh/tools/cidr.md): CLI tool for IPv4/IPv6 CIDR network prefix management with counting, overlap checking, explanation, and subdivision. (245 stars)
- [aim](https://www.trmn.sh/tools/aim.md): Command line download/upload tool with resume support for HTTP(S), FTP, SFTP, SSH, and S3 protocols (193 stars)

## Guides

- [Best Command-Line Benchmarking Tools](https://www.trmn.sh/best/benchmarking-tools): Compare hyperfine, wrk, hey and dnspyre for timing shell commands, HTTP endpoints and DNS servers from the command line.

---

Canonical: https://www.trmn.sh/tools/dnspyre
