dig
Quick Reference
Command Name:
dig
Category:
file management
Platform:
Linux/Unix
Basic Usage:
Common Use Cases
- 1
DNS troubleshooting
Diagnose and resolve DNS-related networking issues
- 2
Domain verification
Verify DNS records for domains you own or manage
- 3
DNS propagation checking
Check if DNS changes have propagated across the internet
- 4
Security analysis
Examine DNS security configurations like DNSSEC
Syntax
dig [OPTION]... [FILE]...
Options
| Option | Description |
|---|---|
-l |
Use a long listing format |
-a |
Show hidden entries starting with . |
-h |
Human-readable sizes |
-R |
List subdirectories recursively |
Examples
How to Use These Examples
The examples below show common ways to use the dig command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.