dig
Verified for current stable LTS
Dig Commands
Dig command syntax with verified terminal examples.
Commands
8 commands for Dig
dig Operations
Dig Command: Detailed Answer For Domain
dig +noall +answer <example.com> dig Search
Dig Command: Find Authoritative Name Servers
dig +nssearch <example.com> dig Operations
Dig Command: Lookup Ip From Hostname
dig +short <example.com> dig Operations
Dig Command: Perform Iterative Queries
dig +trace <example.com> dig Operations
Dig Command: Query Dns Over Non Standard Port
dig +tcp -p <port> @<dns_server_ip> <example.com> dig Operations
Dig Command: Query Specific Dns Record Type
dig +short <example.com> <A|MX|TXT|CNAME|NS> dig Operations
Dig Command: Query With Alternate Dns Server
dig <+tls> @<1.1.1.1|8.8.8.8|9.9.9.9|...> <example.com> dig Operations
Dig Command: Reverse Dns Lookup
dig -x <8.8.8.8> Suggest a Dig Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Dig workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.