dig Verified for current stable LTS

Dig Command: Query Specific Dns Record Type

Use for query specific dns record type with Dig. Exact CLI syntax to query specific dns record type using Dig.

When to use this: Use for query specific dns record type with Dig.

Command Syntax

dig +short <example.com> <A|MX|TXT|CNAME|NS>

Command Breakdown

dig is the base executable for this command.

FAQ

Purpose: Exact syntax to query specific dns record type using Dig.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Dig directory