Skip to main content

DNS Benchmark

Benchmark public DNS servers and switch active network DNS. On macOS, supports real domain resolution tests, config backup, and restore.

Free & Open Source Network dns benchmark latency flush dns
Version 1.0.8 Updated 2026-11-25
Download ZTools to Install Install ZTools, then search for "DNS Benchmark" in the Plugin Marketplace

Screenshots

DNS Benchmark - Preview 1

Key Features

Benchmark public DNS servers and apply the fastest one

dns / dns benchmark / dns speed / switch dns / fastest dns

Flush the local system DNS resolver cache (requires authorization)

flush dns / flushdns / clear dns cache

Reset current network interface to automatic DHCP DNS

reset dns / default dns / dhcp dns

Overview & Usage Guide

On macOS, measures the latency of real DNS A-record queries for example.com across public DNS servers. Results reflect a single lookup and do not represent all websites or long-term network performance; failures are never replaced with fixed placeholder latencies.

Usage

macOS:

  • Choose an active network service in the top-right corner, wait for the benchmark to finish, select a server, and press Enter to apply it. Applies one selected server address at a time; ⌘+Enter copies the address.
  • Changing DNS triggers a macOS administrator authorization prompt. Your previous configuration is backed up before writing; if the configuration was modified by another program in the meantime, the plugin stops and asks you to re-benchmark and reload the configuration first.
  • Below the list, Restore Automatic DNS clears manual DNS addresses, while Restore Latest Backup restores the addresses saved before the last operation on that network service. Backups are stored per network service and retained even if an operation fails.
  • Flush DNS Cache requests administrator authorization separately. Canceling authorization or a command failure reports failure rather than falsely reporting success.
  • You can click Cancel while waiting for benchmarks or system authorization. If the system has already entered the commit phase, the apply or restore finishes before returning the actual result; requesting cancellation does not roll back an already succeeded change.
  • If "Write status unconfirmed" is shown, reload the system configuration before deciding whether to restore the backup so you do not overwrite settings from other software.

Windows:

  • Ranks servers by TCP port 53 connection latency (not DNS resolution latency) and switches DNS using netsh, which requires running as Administrator.

Platforms & Requirements

  • Supported: Windows, macOS
  • Requires client version 1.1.8.5 or later.
  • macOS requires the client's bundled DNS configuration component. Running from source without Xcode Command Line Tools may lack this component; official macOS release packages include it.
  • Windows implementation is pending verification on physical hardware.

Network & Data

  • Benchmarking only connects to the 15 built-in public DNS servers (Alibaba Cloud, Tencent DNSPod, 114DNS, Cloudflare, Google, etc.): macOS sends an A-record query for example.com to each server, while Windows opens a TCP port 53 connection to each server.

Frequently Asked Questions (FAQ)

How do I install and launch "DNS Benchmark" in ZTools?

Open the Plugin Marketplace inside ZTools Workbench, search for "DNS Benchmark", and install it. Then type its name in the launcher bar to open it.

Is "DNS Benchmark" free? Which platforms are supported?

Yes, it is free to install with source code published in the ZTools-extensions repository. Supported platforms: Windows / macOS.