dig
Verified for current stable LTS
Dig Commands
Dig command syntax with verified terminal examples.
Commands
15 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 Search
Dig Command: Find Authoritative Name Servers And Display Soa Records
dig +nssearch <example.com> dig HTTP
Dig Command: Get Detailed Answer For Domain
dig +noall +answer <example.com> dig Operations
Dig Command: Lookup Ip Address Associated With Hostname
dig +short <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: Perform Iterative Queries And Display Trace Path
dig +trace <example.com> dig Operations
Dig Command: Perform Reverse Dns Lookup On Ip Address
dig -x <8.8.8.8> dig Operations
Dig Command: Query Alternate Dns Server With Dns Over Tls
dig <+tls> @<1.1.1.1|8.8.8.8|9.9.9.9|...> <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 Dns Server Over Non Standard Port Using Tcp
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.