GitHub

palemoky /dnspick

๐Ÿš€ Pick the DNS that fits you

โ˜… 303โ‘‚ 12๐Ÿ‘ 3โ‘ƒ 20โ— 5โ–ค 12
GoMITCreated 2025-10-20
Download: v2.3.1v2.3.1 โ†“2.3.12026-08-31
+1
Daily
303
stars
12
forks
3
watchers
20
prs
5
issues
12
releases

README

DNS Pick




Pick the DNS that fits you

English | ็ฎ€ไฝ“ไธญๆ–‡



dnspick is a cross-platform command-line tool. It concurrently benchmarks a set of popular and custom DNS servers (over UDP, DoT, DoH and DoH3) by repeatedly querying a list of common domains, then scores them intelligently from average latency and success rate. It also folds in the default DNS you are currently using for comparison and gives a recommendation at the end.

---

 Features

   Cross-platform: Runs on Windows, macOS, Linux, Raspberry Pi (ARM/ARM64) and other mainstream platforms.
   Multi-protocol: Tests plain UDP DNS, DNS-over-TLS (DoT), DNS-over-HTTPS (DoH, RFC 8484 wire-format) and DNS-over-HTTP/3 (DoH3, over QUIC) side by side.
   More accurate measurement: Reuses one connection per server and bounds concurrency to avoid requests contending with each other and distorting latency; DoT/DoH are warmed up before timing.
   Composite score: More than just a speed test! Combines average latency and success rate into a single score (see Scoring) and recommends the Top 3.
   Detects your current DNS: Automatically probes the system default DNS you are using (ISP/router), includes it in the comparison and gives an optimization suggestion.
   Live categorized progress: Domestic/foreign domains are laid out side by side, with per-domain progress updated in real time.
   Bilingual UI: Follows the system LANG by default, or switch manually with --lang en|zh.
   Highly customizable: Custom test domains, query count, timeout, concurrency and more.
   IPv4 and IPv6: Benchmarks DNS resolvers over either address family, including built-in IPv6 endpoints and custom IPv6 server addresses.

---

 Demo

While testing:


dnspick: benchmarking 33 DNS servers against 20 domains...

Progress: 45% (594/1320)
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   Domestic   โ”‚ Status โ”‚    Foreign     โ”‚ Status โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ baidu.com    โ”‚ โœ”      โ”‚ google.com     โ”‚ โœ”      โ”‚
โ”‚ qq.com       โ”‚ โœ”      โ”‚ youtube.com    โ”‚ 60%    โ”‚
โ”‚ taobao.com   โ”‚ 60%    โ”‚ github.com     โ”‚ -      โ”‚
โ”‚ jd.com       โ”‚ -      โ”‚ facebook.com   โ”‚ -      โ”‚
โ”‚ ...          โ”‚        โ”‚ ...            โ”‚        โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜


When finished:


--- Benchmark Results ---
โ”Œโ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   โ”‚      DNS Server       โ”‚     Address     โ”‚ Avg Latency โ”‚  Success Rate  โ”‚ Score  โ”‚
โ”œโ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ 1  โ”‚ Freenom 2 (UDP)       โ”‚ 80.80.81.81     โ”‚ 6.16ms      โ”‚ 100.0% (40/40) โ”‚ 162.33 โ”‚
โ”‚ 2  โ”‚ Cloudflare 2 (UDP)    โ”‚ 1.0.0.1         โ”‚ 6.227ms     โ”‚ 100.0% (40/40) โ”‚ 160.58 โ”‚
โ”‚ 3  โ”‚ DNSPod 1 (UDP)        โ”‚ 119.28.28.28    โ”‚ 6.337ms     โ”‚ 100.0% (40/40) โ”‚ 157.80 โ”‚
โ”‚ 6  โ”‚ AliDNS 1 (UDP)        โ”‚ 223.5.5.5       โ”‚ 6.517ms     โ”‚ 100.0% (40/40) โ”‚ 153.44 โ”‚
โ”‚ 7  โ”‚ Current default DNS (current) โ”‚ 192.168.50.2 โ”‚ 6.518ms โ”‚ 100.0% (40/40)

Latest release

v2.3.1 v2.3.1 2026-08-31
Full Changelog: https://github.com/palemoky/dnspick/compare/v2.3.0...v2.3.1

Snapshot: 2026-11-16T09:23:14Z ยท Data license Apache-2.0 ยท JSON