doggo
Overview
doggo is a modern, human-readable DNS lookup client for CLI users. It supports DNS-over-HTTPS (DoH), DNS-over-TLS (DoT), IPv4/IPv6 querying, and JSON output formatting.
Syntax
doggo [query] [options]Common Options
| Option | Description |
|---|---|
@server |
Specify DNS resolver (e.g. @1.1.1.1 or https://dns.google/dns-query) |
--type TYPE, -t |
Specify record type (A, AAAA, MX, TXT, NS, CNAME) |
--json |
Format DNS lookup results as JSON output |
--short |
Output answer payload values only |
Key Use Cases
- Inspecting DNS records with clean, formatted terminal tables.
- Querying encrypted DNS resolvers via DNS-over-HTTPS / DNS-over-TLS.
- Parsing DNS output programmatically via
--json.
Examples with Explanations
Example 1: Basic MX & A Record Query
doggo example.com MXQueries MX records for example.com with a colorized response table.
Example 2: Querying via DNS-over-HTTPS
doggo example.com @https://cloudflare-dns.com/dns-queryPerforms a secure DoH query against Cloudflare DNS.