Skip to main content

simurgh-dns

A cross-platform CLI tool to benchmark public DNS servers and set the fastest one.

Features

  • Benchmarks 15 DNS providers (30 server IPs) with concurrent testing
  • Measures latency (avg/min/max) and reliability per server
  • Beautiful terminal output with Rich tables and progress bars
  • Cross-platform DNS configuration — set the best DNS on macOS, Linux, and Windows
  • JSON output mode for scripting and automation
  • Installable via pip — works anywhere Python runs

Installation

pip install simurgh-dns

Or with uv:

uv pip install simurgh-dns

Quick Start

Run the benchmark:

simurgh-dns

This will:

  1. Benchmark all DNS servers (3 rounds by default)
  2. Display a ranked table of results
  3. Offer to set the fastest DNS on your system

Usage

# Run benchmark with custom rounds
simurgh-dns --rounds 5

# Output results as JSON
simurgh-dns --json

# Benchmark only (don't offer to change DNS)
simurgh-dns --no-set

# Directly set a specific DNS server
simurgh-dns --set 1.1.1.1

# Reset DNS to DHCP default
simurgh-dns --reset

# Show version
simurgh-dns --version

You can also run it as a Python module:

python -m simurgh_dns

Supported Platforms

Platform Benchmark Set DNS Method
macOS Yes Yes networksetup
Linux Yes Yes resolvectl / /etc/resolv.conf
Windows Yes Yes netsh

Note: Setting DNS requires elevated privileges (sudo on macOS/Linux, Administrator on Windows).

DNS Providers

Provider Primary Secondary
Google 8.8.8.8 8.8.4.4
Cloudflare 1.1.1.1 1.0.0.1
Quad9 9.9.9.9 149.112.112.112
OpenDNS 208.67.222.222 208.67.220.220
AdGuard 94.140.14.14 94.140.15.15
NextDNS 45.90.28.0 45.90.30.0
CleanBrowsing 185.228.168.9 185.228.169.9
Comodo Secure 8.26.56.26 8.20.247.20
Level3 4.2.2.1 4.2.2.2
Verisign 64.6.64.6 64.6.65.6
Norton/LifeLock 199.85.126.10 199.85.127.10
Yandex 77.88.8.8 77.88.8.1
DNS.WATCH 84.200.69.80 84.200.70.40
Freenom 80.80.80.80 80.80.81.81
Alternate DNS 76.76.19.19 76.223.122.150

Requirements

  • Python 3.13+

Contributing

See CONTRIBUTING.md for development setup and guidelines.

License

MIT License. See LICENSE for details.

Metadata

Release files for simurgh-dns 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simurgh-dns 0.1.1
File Size Uploaded Provenance Actions
simurgh_dns-0.1.1.tar.gz 64.0 kB Without provenance Details for simurgh_dns-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for simurgh-dns 0.1.1
File Interpreter ABI Platform Actions
simurgh_dns-0.1.1-py3-none-any.whl Python 3 none any Details for simurgh_dns-0.1.1-py3-none-any.whl

Total release size: 78.9 kB

Release files / simurgh_dns-0.1.1.tar.gz

Download URL simurgh_dns-0.1.1.tar.gz
Size 64.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c464898e287935ab33b39a2be4b92899e736a429a1d0a5d36c1ebb3752a01fb4
BLAKE2b-256 checksum
How to use checksums
f72ec81959bbc5ee0cd59672041a359971c1553897d529cad4669cad95a05889
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / simurgh_dns-0.1.1-py3-none-any.whl

Download URL simurgh_dns-0.1.1-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc6584561dd5d77472b57a67647b6ec27eb2643a04a7958450b176101e2efea6
BLAKE2b-256 checksum
How to use checksums
24229e81e4a33feff0cc034b86451d66c62103c559cd60a4a1cc8a550b53867f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for simurgh-dns 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page