← 返回命令列表

Linux command

doggo 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Query A records

doggo [example.com]

Query specific record

doggo [example.com] [MX]

Use specific resolver

doggo [example.com] @[8.8.8.8]

Use DNS over

doggo [example.com] @https://[cloudflare-dns.com/dns-query]

Use DNS over

doggo [example.com] @tls://[dns.google]

Output as JSON

doggo [example.com] --json

Reverse DNS lookup

doggo --reverse [8.8.8.8]

说明

doggo is a modern DNS client written in Go with support for encrypted DNS protocols. It provides a user-friendly interface with colorized output and multiple output formats. The tool supports standard DNS, DNS over HTTPS (DoH), DNS over TLS (DoT), DNS over QUIC (DoQ), and DNSCrypt. This flexibility allows secure DNS queries to privacy-focused resolvers. doggo features human-readable output by default, with JSON output for scripting. It can query multiple record types and resolvers in a single command.

参数

--json, -J
JSON output format.
--short
Short output.
--reverse, -x
Reverse DNS lookup.
--time
Show query time.
--color
Colorize output (auto/always/never).
--help
Display help information.

FAQ

What is the doggo command used for?

doggo is a modern DNS client written in Go with support for encrypted DNS protocols. It provides a user-friendly interface with colorized output and multiple output formats. The tool supports standard DNS, DNS over HTTPS (DoH), DNS over TLS (DoT), DNS over QUIC (DoQ), and DNSCrypt. This flexibility allows secure DNS queries to privacy-focused resolvers. doggo features human-readable output by default, with JSON output for scripting. It can query multiple record types and resolvers in a single command.

How do I run a basic doggo example?

Run `doggo [example.com]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --json, -J do in doggo?

JSON output format.