dig
digdig is a flexible tool for interrogating DNS name servers. It performs DNS lookups and displays the answers returned.
dig is a flexible tool for interrogating DNS name servers. It performs DNS lookups and displays the answers returned.
Query DNS records with dig. Only common query and display options are covered; TSIG keys, batch mode and most +keyword options are left out.
servernametypeservernametypeshortnametypetracestring · positional 0string · positional 1string · positional 2AAAAAMXNSTXTCNAMESOAANYboolean+shortboolean+traceboolean+tcpboolean+dnssecboolean+multilineboolean-4boolean-6integer-pstring-cINCHHSinteger+timehelphelpdig -h (macOS)manualmanualBIND 9 dig(1), 2026-10-27Before it fills your prompt, Otty checks the installed dig against its version. A form that does not match your version is not offered.