From d2d57c7d38156c166d459a51fc32ee000f4322ef Mon Sep 17 00:00:00 2001 From: Jesse Riggins Date: Wed, 16 Mar 2022 16:20:55 -0500 Subject: [PATCH] dog: add page (#7892) --- pages/common/dog.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pages/common/dog.md diff --git a/pages/common/dog.md b/pages/common/dog.md new file mode 100644 index 0000000000..1d3b478d14 --- /dev/null +++ b/pages/common/dog.md @@ -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: . + +- 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}}`