# natesales/q

A tiny command line DNS client with support for UDP, TCP, DoT, DoH, DoQ and ODoH.

Repository: https://github.com/natesales/q
Canonical: https://ross.abutalabs.com/products/natesales-q
Language: Go
License: GPL-3.0
License Family: copyleft
Topics: dns-over-tls, dns-over-quic, dns-over-https, dns-client, oblivious-dns-over-https, doh
Last push: 2026-06-28T23:29:30+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 89, release rhythm 72, longevity 100
- inputs: {"age_days": 2011, "days_push": 66, "days_rel": 187, "gap_med": 28.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2494, forks 100 (observed 2026-08-28T04:06:56.619557+00:00)

## What it is
q is a tiny, feature-rich command line DNS client written in Go. It supports querying over UDP, TCP, DNS-over-TLS, DNS-over-HTTPS, DNS-over-QUIC, and Oblivious DoH, with output in pretty, JSON, YAML, or raw dig format.

## Use cases
- query dns records from the command line
- test dns over https resolver
- lookup mx records for a domain
- query dns over quic or tls
- resolve domains via a dns stamp
- get dns query results as
- perform reverse dns lookups
- debug dnssec and edns0 options

## When to choose
- you need a modern dig alternative supporting DoH, DoT, DoQ, and ODoH
- you want machine-readable DNS output (JSON/YAML) for scripts
- you need to test encrypted DNS resolvers quickly
- you want a single small static binary for DNS debugging

## When to avoid
- you need interactive DNS server hosting or recursive resolution
- you require a GUI DNS tool
- you need zone transfers or full DNS server functionality beyond querying

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, networking, developer-tools
- domain: networking, developer-tools
- platform: windows, cli, cross-platform
- tags: dns-client, dns-over-https, dns-over-tls, dns-over-quic, odoh, dig-alternative, command-line, linux, macos

## Member repositories
- natesales/q (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:56.619557+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-30T02:27:17.363670+00:00, confidence not recorded.
  - readme: https://github.com/natesales/q (fetched 2026-08-28T04:06:56.619557+00:00, sha febbf602f149)
- Data as of 2026-08-30T08:39:29.467469+00:00.
