dig [options] name [type]Arguments explained
- Options adjust output or behavior.
- Arguments name the files, services, hosts, or values the command should work with.
Common examples
dig example.com AShows IPv4 DNS information for example.com.
dig @1.1.1.1 example.comQueries Cloudflare DNS directly.
| Field | Details |
|---|---|
| Command | dig |
| Category | Networking |
| Primary use | Queries DNS records. |
| Syntax | dig [options] name [type] |