Attempt a zone transfer (AXFR)
Dump full zone if AXFR is open; note: success on public NS is a misconfig
dig axfr @ns1.example.com example.com
- tool
- dig11 commands
More dig commands
-
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
-
dig -x 2606:4700:4700::1111 +shortPTR for an IPv6 address; -x expands nibble format automatically
-
for r in example.com _dmarc.example.com sel._domainkey.example.com; do dig +short TXT $r; donePull SPF, DMARC and DKIM TXT records in one loop for mail audits