Show only the answer section
Hide headers and stats and print only the answer. Good for scripts and diffs
dig +noall +answer example.com
- tool
- dig11 commands
More dig commands
-
dig +nssearch example.comQuery each authoritative NS directly. Shows if their SOA serials differ
-
dig axfr @ns1.example.com example.comDumps the whole zone if AXFR is open. Note: if this works on a public NS, it is a misconfiguration
-
dig +dnssec +multi example.com @1.1.1.1Show RRSIG records. The AD flag in the flags line means the answer was validated
-
dig +trace +nodnssec example.comFollow delegation from the root to the authoritative server and hide RRSIG/DS records
-
diff <(dig +short @1.1.1.1 example.com) <(dig +short @8.8.8.8 example.com)Find split-horizon setups or stale cache differences between resolvers