Clean answer-only output
Strip headers/stats; show only the answer section for scripting/diffs
dig +noall +answer example.com
- tool
- dig11 commands
More dig commands
-
dig +nssearch example.comQuery each authoritative NS directly; reveals SOA serial mismatches between them
-
dig axfr @ns1.example.com example.comDump full zone if AXFR is open; note: success on public NS is a misconfig
-
dig +dnssec +multi example.com @1.1.1.1Show RRSIG records; check AD flag in flags line for validated answer
-
dig +trace +nodnssec example.comFollow delegation from root to authoritative, hiding RRSIG/DS clutter
-
diff <(dig +short @1.1.1.1 example.com) <(dig +short @8.8.8.8 example.com)Spot split-horizon or stale cache differences between resolvers