dog
DNS lookup utility. It has colorful output, supports DNS-over-TLS and DNS-over-HTTPS protocols, and can emit JSON. More information: https://github.com/ogham/dog#examples.
- Look up the IP(s) associated with a hostname (A records):
dog
- Query the MX records type associated with a given domain name:
dog MX
- Specify a specific DNS server to query (e.g. Cloudflare):
dog MX @
- Query over TCP rather than UDP:
dog MX @
- Query the MX records type associated with a given domain name over TCP using explicit arguments:
dog MX
- Look up the IP(s) associated with a hostname (A records) using DNS over HTTPS (DoH):
dog @
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
