mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 12:45:59 +02:00
dog: add page (#7892)
This commit is contained in:
parent
3f6f191892
commit
d2d57c7d38
1 changed files with 29 additions and 0 deletions
29
pages/common/dog.md
Normal file
29
pages/common/dog.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
# dog
|
||||
|
||||
> DNS lookup utility.
|
||||
> It has colorful output, supports DNS-over-TLS and DNS-over-HTTPS protocols, and can emit JSON.
|
||||
> More information: <https://dns.lookup.dog>.
|
||||
|
||||
- Lookup the IP(s) associated with a hostname (A records):
|
||||
|
||||
`dog {{example.com}}`
|
||||
|
||||
- Query the MX records type associated with a given domain name:
|
||||
|
||||
`dog {{example.com}} MX`
|
||||
|
||||
- Specify a specific DNS server to query (e.g. Cloudflare):
|
||||
|
||||
`dog {{example.com}} MX @{{1.1.1.1}}`
|
||||
|
||||
- Query over TCP rather than UDP:
|
||||
|
||||
`dog {{example.com}} MX @{{1.1.1.1}} --tcp`
|
||||
|
||||
- Query the MX records type associated with a given domain name over TCP using explicit arguments:
|
||||
|
||||
`dog --query {{example.com}} --type MX --nameserver {{1.1.1.1}} --tcp`
|
||||
|
||||
- Lookup the IP(s) associated with a hostname (A records) using DNS over HTTPS (DoH):
|
||||
|
||||
`dog {{example.com}} --https @{{https://cloudflare-dns.com/dns-query}}`
|
Loading…
Add table
Reference in a new issue