Files
tldr/pages.zh/common/doggo.md

25 lines
540 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# doggo
> 针对人类的 DNS 客户端。
> 使用 Golang 编写。
> 更多信息:<https://github.com/mr-karan/doggo>。
- 执行简单的 DNS 查询:
`doggo {{example.com}}`
- 使用特定的名称服务器查询 MX 记录:
`doggo MX {{codeberg.org}} @{{1.1.1.2}}`
- 使用 DNS over HTTPS
`doggo {{example.com}} @{{https://dns.quad9.net/dns-query}}`
- 以 JSON 格式输出:
`doggo {{example.com}} --json | jq '{{.responses[0].answers[].address}}'`
- 执行反向 DNS 查询:
`doggo --reverse {{8.8.4.4}} --short`