{"id":50294382,"url":"https://github.com/tdiprima/resolver-royale","last_synced_at":"2026-05-28T08:01:15.683Z","repository":{"id":358258560,"uuid":"1238812947","full_name":"tdiprima/resolver-royale","owner":"tdiprima","description":"Bash DNS benchmark tool that races 22 public resolvers across Mac/Ubuntu/RHEL and ranks them by latency, jitter, and reliability","archived":false,"fork":false,"pushed_at":"2026-05-16T12:58:27.000Z","size":639,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-16T14:51:03.492Z","etag":null,"topics":["bash","benchmark","cli","dns","domain-name-system","networking"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tdiprima.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-14T13:31:03.000Z","updated_at":"2026-05-16T12:58:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tdiprima/resolver-royale","commit_stats":null,"previous_names":["tdiprima/resolver-royale"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/tdiprima/resolver-royale","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdiprima%2Fresolver-royale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdiprima%2Fresolver-royale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdiprima%2Fresolver-royale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdiprima%2Fresolver-royale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tdiprima","download_url":"https://codeload.github.com/tdiprima/resolver-royale/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdiprima%2Fresolver-royale/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33599465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","benchmark","cli","dns","domain-name-system","networking"],"created_at":"2026-05-28T08:01:14.185Z","updated_at":"2026-05-28T08:01:15.621Z","avatar_url":"https://github.com/tdiprima.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Resolver Royale\n\nA cross-platform DNS benchmark that races 22 public resolvers against your current DNS and tells you which one is actually fastest from your location.\n\n![Resolver Royale](./assets/banner.png)\n\n## Your DNS Might Be Slower Than It Should Be\n\nISP-assigned DNS resolvers are often the bottleneck you never think to check. Switching to a faster public resolver can shave milliseconds off every single network request your machine makes — page loads, API calls, `git fetch`, package installs. The catch: \"fastest\" depends entirely on where you are. Cloudflare wins in some regions, Google in others, Quad9 somewhere else. Without measuring from your own machine, you're guessing.\n\n## Benchmark, Rank, Apply\n\nResolver Royale fires 50 queries per server (5 iterations across 10 popular domains) against 22 DNS providers — including your current resolver — and scores each one on a weighted composite of average latency, median latency, jitter, and reliability. Results are ranked with letter grades (A+ through F), and the winner comes with a copy-paste command to switch your DNS immediately.\n\nSupported on macOS, Ubuntu/Debian, and RHEL/Rocky/CentOS.\n\n## Example\n\n```\n  Current DNS:  192.168.1.1\n  Source file:  /etc/resolv.conf\n\n  Benchmarking 23 servers — this takes ~1–2 minutes …\n\n  Rank  Name                      IP               Avg    Med    Jitter  Rel%   Score  Grade\n  ────  ────────────────────────  ───────────────  ─────  ─────  ──────  ─────  ─────  ─────\n     1  Cloudflare                1.1.1.1          8.2ms  6.0ms  42ms    100%   90.3   A\n     2  Google                    8.8.8.8          12.1ms 10.0ms 38ms    100%   87.6   A-\n     3  Quad9                     9.9.9.9          15.4ms 12.0ms 51ms    100%   84.1   B+\n   ...\n\n  ╔══════════════════════════════════════════════════════════════════╗\n  ║  🏆  Fastest DNS: Cloudflare\n  ║     IP:          1.1.1.1\n  ║     Score:       90.3 (A)\n  ╚══════════════════════════════════════════════════════════════════╝\n```\n\n## Usage\n\n```bash\n# Run the benchmark\n./dns-benchmark.sh\n\n# Apply the fastest DNS (requires sudo)\nsudo ./dns-benchmark.sh --apply\n\n# Restore DHCP defaults\nsudo ./dns-benchmark.sh --restore\n```\n\n### Requirements\n\n- `dig` and `bc`\n\n```bash\n# Ubuntu/Debian\nsudo apt install -y dnsutils bc\n\n# RHEL/Rocky/CentOS\nsudo dnf install -y bind-utils bc\n\n# macOS\nbrew install bind\n```\n\n## License\n\n[MIT](LICENSE)\n\n\u003cBR\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftdiprima%2Fresolver-royale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftdiprima%2Fresolver-royale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftdiprima%2Fresolver-royale/lists"}