# ogham/dog

A command-line DNS client.

Repository: https://github.com/ogham/dog
Canonical: https://ross.abutalabs.com/products/dog
Homepage: https://dns.lookup.dog/
Language: Rust
License: EUPL-1.2
License Family: copyleft
Topics: command-line, dns, client, rust
Last push: 2024-05-29T11:36:13+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2321, "days_push": 826, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6687, forks 207 (observed 2026-08-28T04:09:47.687082+00:00)

## What it is
dog is a command-line DNS client written in Rust, serving as a modern alternative to dig. It supports DNS-over-TLS and DNS-over-HTTPS, colourful output, normal command-line argument syntax, and JSON output.

## Use cases
- look up DNS records for a domain from the terminal
- query MX records using a specific nameserver
- resolve domains over DNS-over-TLS or DNS-over-HTTPS
- get DNS query results as JSON for scripting
- debug DNS resolution issues with a friendlier tool than dig

## When to choose
- you want a modern, colourful dig replacement with simple argument syntax
- you need encrypted DNS queries via DoT or DoH from the command line
- you want machine-readable JSON DNS output in scripts

## When to avoid
- you need a full-featured DNS debugging suite with every dig option
- you need a DNS server or recursive resolver rather than a client
- you need actively developed features - the project sees only occasional maintenance

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: cli, networking, developer-tools
- domain: networking, developer-tools
- platform: windows, cli, rust
- tags: dns, dns-over-tls, dns-over-https, dig-alternative, network-diagnostics, command-line, linux, macos

## Member repositories
- ogham/dog (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:47.687082+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-29T17:42:59.509229+00:00, confidence not recorded.
  - readme: https://github.com/ogham/dog (fetched 2026-08-28T04:09:47.687082+00:00, sha a8dea3ca61e7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
