dog Command Examples

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.

dog {{example.com}}

dog {{example.com}} MX

dog {{example.com}} MX @{{1.1.1.1}}

dog {{example.com}} MX @{{1.1.1.1}} --tcp

dog --query {{example.com}} --type MX --nameserver {{1.1.1.1}} --tcp

dog {{example.com}} --https @{{https://cloudflare-dns.com/dns-query}}