HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

doggo — DNS client for Humans. Written in Golang. More information: <https://github.com/mr-karan/doggo/blob/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
doggocommandclienthumanswrittenclidnsfor

Problem

How to use the doggo command: DNS client for Humans. Written in Golang. More information: <https://github.com/mr-karan/doggo/blob/main/docs/src/content/docs/guide/reference.md>.

Solution

doggo — DNS client for Humans. Written in Golang. More information: <https://github.com/mr-karan/doggo/blob/main/docs/src/content/docs/guide/reference.md>.

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}} {{[-J|--json]}} | jq '{{.responses[0].answers[].address}}'


Perform a reverse DNS lookup:
doggo {{[-x|--reverse]}} {{8.8.4.4}} --short

Code Snippets

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}} {{[-J|--json]}} | jq '{{.responses[0].answers[].address}}'

Perform a reverse DNS lookup

doggo {{[-x|--reverse]}} {{8.8.4.4}} --short

Context

tldr-pages: common/doggo

Revisions (0)

No revisions yet.