# 🌐 \[FREE TOOL\] net-benchmark — Fix Slow Internet By Picking The Best DNS

**URL:** <https://onehack.st/t/free-tool-net-benchmark-fix-slow-internet-by-picking-the-best-dns/322785>\
**Category:** Tools & Scripts\
**Tags:** privacy, tips-tricks\
**Created:** [June 5, 2026, 8:29pm UTC](https://onehack.st/t/free-tool-net-benchmark-fix-slow-internet-by-picking-the-best-dns/322785 "2026-06-05T20:29:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![quantumLeap99](https://onehack.st/user_avatar/onehack.st/quantumleap99/32/174548_2.png) [@quantumLeap99](https://onehack.st/u/quantumLeap99)\
**Post date:** [June 5, 2026, 8:29pm UTC](https://onehack.st/t/free-tool-net-benchmark-fix-slow-internet-by-picking-the-best-dns/322785/1 "2026-06-05T20:29:42Z")

</div>

### 🌐 [FREE TOOL] net-benchmark — Race Every DNS Phonebook, Pick The Fastest And Get Snappier Internet Free, No New Hardware

* * *

 ![image](https://onehack.st/uploads/default/original/3X/2/a/2ada2d94bb5f10f284d338e173bd3d45a4c2b53a.jpeg)

* * *

🌐 **Your wifi’s fine — the hidden lookup is what’s lagging you.** Every site you open, your device first asks a “phonebook” ( **DNS** ) to turn `baidu.com` into a number it can dial. Slow phonebook = slow net, even on fast wifi.

⚡ **net-benchmark** is a free tool that races every phonebook so you grab the fastest = snappier internet, $0, no new hardware. Bonus: tests the _private_ kind that hides which sites you visit. 👇

🔗 Free + open source → [GitHub](https://github.com/net-benchmark/net-benchmark)

> **🧠 the trick — what this actually fixes (30 sec)**
>
> Calling a contact by name? Your phone secretly checks its phonebook for the number, _then_ dials. The internet’s identical: name (`taobao.com`) → phonebook ( **DNS** ) → number ( **IP** ) → site loads.
> 
> Everyone blames their wifi when sites crawl. Half the time it’s a slow or far-away phonebook 📵. There are loads of free ones (Cloudflare, Google, AliDNS…) and the fastest _for you_ depends on where you live — no way to eyeball it.
> 
> net-benchmark just races 'em. Pings each a bunch, hands you cold numbers: who’s quickest, who’s flaky. Pick the winner, drop it in your router/phone, done. **Free speed.**
> 
> Also tests:
> 
> - 🔒 **Private DNS (DoH/DoT)** — normal lookups are shouted in the open; your ISP or café wifi sees every site you check. The encrypted kind hides it. This finds which private one is _also_ fast.
> - 🛡 **DNSSEC** — checks the answer wasn’t swapped for a fake number (anti-scam).
> - 🌍 **Website speed too** — not just the phonebook, how fast real sites respond.

> **📦 install — one line (needs Python)**
>
> ```bash
> pip install net-benchmark
> 
> ```
> 
> > 💡 `pip` = Python’s app-store-in-a-command. No `pip`? Grab Python from [python.org](http://python.org) first, it’s bundled.

> **🎯 DNS commands — hunt your fastest phonebook (copy-paste)**
>
> ```bash
> # Auto-rank the top private (DoH) phonebooks for you
> net-benchmark dns top --doh --limit 5
> 
> # Head-to-head: race two (here AliDNS vs DNSPod)
> net-benchmark dns compare 223.5.5.5 119.29.29.29 --doh --iterations 3
> 
> # Full benchmark, private (DoH), export to Excel
> net-benchmark dns benchmark \
> --resolvers "223.5.5.5,119.29.29.29" \
> --domains "baidu.com,taobao.com" \
> --doh \
> --doh-url "https://dns.alidns.com/dns-query,https://doh.pub/dns-query" \
> --iterations 3 \
> --formats excel
> 
> # Same but DoT + anti-fake (DNSSEC) check
> net-benchmark dns benchmark \
> --resolvers "223.5.5.5,119.29.29.29" \
> --domains "baidu.com,taobao.com" \
> --dot --dnssec-validate \
> --iterations 5 --formats excel
> 
> # Babysit DNS for 2hrs, beep if lag spikes past 150ms
> net-benchmark dns monitoring \
> --resolvers "223.5.5.5,119.29.29.29" \
> --dot --interval 30 --duration 7200 \
> --alert-latency 150
> 
> ```
> 
> > 💡 `223.5.5.5` / `119.29.29.29` are just sample phonebooks (China’s AliDNS & DNSPod). Swap in any — Cloudflare `1.1.1.1`, Google `8.8.8.8`, whatever.

> **🌍 website-speed commands — spot the laggy sites (copy-paste)**
>
> ```bash
> # Race two sites
> net-benchmark http compare baidu.com taobao.com --iterations 3 --show-details
> 
> # Benchmark a pile, export CSV + Excel
> net-benchmark http benchmark \
> --targets "https://www.baidu.com,https://www.taobao.com,https://www.jd.com,https://www.qq.com,https://www.163.com" \
> --iterations 3 --formats csv,excel
> 
> # Rank by TTFB (how fast a site coughs up its first byte = first sign of life)
> net-benchmark http top \
> --targets "https://www.baidu.com,https://www.taobao.com,https://www.jd.com" \
> --limit 3 --metric ttfb
> 
> # Watch sites for 1 min, alert if slow/failing
> net-benchmark http monitoring \
> --targets "https://www.baidu.com,https://www.taobao.com" \
> --interval 10 --duration 60 \
> --alert-latency 200 --alert-failure-rate 5
> 
> ```
> 
> Exports JSON / CSV / Excel / PDF — drop straight into a report or dashboard (Grafana, Prometheus).

> **👤 who's this for + the numbers it spits out**
>
> - 🐌 Anyone whose net “feels slow” and wants _proof_ of where the lag hides
> - 🏠 Home-network / Pi-hole / router folks picking the best DNS
> - 🕵 Privacy people who want encrypted-but-fast lookups
> - 🧑‍💻 Devs troubleshooting connections
> 
> It doesn’t hand you the lucky-fast average — it gives **P95/P99** (the speed you get _almost always_) and **jitter** (steady vs bouncy). Real-world, not marketing.

**simple-pimple:** `pip install net-benchmark` → race the phonebooks → pick the fastest → set it on your router → 🚀 free speed. Credit: author `frankovo` on GitHub.
