mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
25 lines
522 B
Markdown
25 lines
522 B
Markdown
# doggo
|
|
|
|
> DNS client for Humans.
|
|
> Written in Golang.
|
|
> More information: <https://github.com/mr-karan/doggo>.
|
|
|
|
- Perform a simple DNS lookup:
|
|
|
|
`doggo {{example.com}}`
|
|
|
|
- Query MX records using a specific nameserver:
|
|
|
|
`doggo MX {{codeberg.org}} @{{1.1.1.2}}`
|
|
|
|
- Use DNS over HTTPS:
|
|
|
|
`doggo {{example.com}} @{{https://dns.quad9.net/dns-query}}`
|
|
|
|
- Output in the JSON format:
|
|
|
|
`doggo {{example.com}} --json | jq '{{.responses[0].answers[].address}}'`
|
|
|
|
- Perform a reverse DNS lookup:
|
|
|
|
`doggo --reverse {{8.8.4.4}} --short`
|