dog <arguments>
A command-line DNS client
Arguments
Name | Description |
---|---|
arguments | Human-readable host names, nameservers, types, or classes |
Subcommands
Name | Description |
---|---|
A | Query Domain A Record |
MX | Query Domain MX Record |
CNAME | Query Domain CNAME Record |
TXT | Query Domain TXT Record |
NS | Query NS Record |
SOA | Query SOA Record |
TTL | Query TTL Record |
ANY +noall +answer | Query ALL DNS Records |
+nocomments +noquestion +noauthority +noadditional +nostats | Query only answer section |
Options
Name | Description |
---|---|
-q, --query <HOST> | Host name or IP address to query |
-t, --type <TYPE> | Type of the DNS record being queried (A, MX, NS...) |
-n, --nameserver <ADDR> | Address of the nameserver to send packets to |
-class <CLASS> | Network class of the DNS record being queried (IN, CH, HS) |
--edns <NUMBER> | Whether to OPT in to EDNS (disable, hide, show) |
--txid <CLASS> | Set the transaction ID to a specific value |
-Z <TWEAKS> | Set uncommon protocol-level tweaks |
-U, --udp | Use the DNS protocol over UDP |
-T, --tcp | Use the DNS protocol over TCP |
-S, --tls | Use the DNS-over-TLS protocol |
-H, --https | Use the DNS-over-HTTPS protocol |
-1, --short | Short mode: display nothing but the first result |
-J, --json | Display the output as JSON |
--color <arguments> <WHEN> | When to colourise the output (always, automatic, never) |
--seconds | Do not format durations, display them as seconds |
--time | Print how long the response took to arrive |