dig and host for DNS

dig and host for DNS investigation.

dig

dig is the standard DNS investigation tool. The host command is simpler; dig is more powerful. Engineers debugging DNS issues reach for dig; the discipline is fluency with its options.

What basic usage looks like:

Basic dig usage is foundational. DNS investigation starts here.

Specific resolver

By default, dig uses the system resolver. Specifying a different resolver lets the team test specific resolution paths; useful when the system resolver is suspect.

Specific resolver queries are how dig handles DNS investigation across the resolution chain.

Debugging

dig has many options for debug output. The team uses different combinations for different needs; clean output for scripts; verbose for investigation.

dig and host are one of those tooling skills that pay off in DNS investigations. Nova AI Ops integrates with DNS observability, surfaces resolution patterns, and complements local-tool investigation.