# farrokhi/dnsdiag

DNS Measurement, Troubleshooting and Security Auditing Toolset

Repository: https://github.com/farrokhi/dnsdiag
Canonical: https://ross.abutalabs.com/products/dnsdiag
Homepage: https://dnsdiag.org/
Language: Python
License: BSD-2-Clause
License Family: permissive
Topics: dns, dns-diagnostics
Last push: 2026-08-04T09:13:54+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 93, longevity 100
- inputs: {"age_days": 3864, "days_push": 29, "days_rel": 49, "gap_med": 21.0, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1055, forks 111 (observed 2026-08-28T04:03:24.363573+00:00)

## What it is
A Python-based toolset for measuring, troubleshooting, and auditing DNS. It includes dnsping for latency measurement, dnstraceroute for tracing DNS request paths, and dnseval for comparing DNS resolvers.

## Use cases
- measure DNS server response time
- detect ISP DNS hijacking or interception
- traceroute DNS queries to see if they are redirected
- compare latency and reliability of multiple DNS resolvers
- audit DNS responses for unusual behavior
- choose the best DNS resolver for my network

## When to choose
- you suspect your DNS traffic is being intercepted or hijacked
- you need to benchmark DNS resolver performance and packet loss
- you want ping/traceroute-style diagnostics specifically for DNS

## When to avoid
- you need a general-purpose DNS server or recursive resolver
- you need a GUI-based DNS management tool
- you need continuous DNS monitoring with alerting rather than on-demand diagnostics

## Facets
- artifact type: cli-tool
- maturity: active
- function: networking, security, monitoring, benchmarking, developer-tools
- domain: networking, security, developer-tools
- platform: python, cli, cross-platform
- tags: dns, dns-diagnostics, dnsping, dnstraceroute, dnseval, dns-hijacking-detection, network-measurement, command-line, docker

## Member repositories
- farrokhi/dnsdiag (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:24.363573+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:58:38.070259+00:00, confidence not recorded.
  - readme: https://github.com/farrokhi/dnsdiag (fetched 2026-08-28T04:03:24.363573+00:00, sha 9d75567b0396)
  - homepage: https://dnsdiag.org/ (fetched 2026-08-29T13:00:26.708106+00:00, sha 17e5ba848e97)
  - registry_pypi: https://pypi.org/pypi/dnsdiag/json (fetched 2026-08-29T13:00:26.712184+00:00, sha 6460ce3b609a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
