Compare answers from two resolvers
Spot split-horizon or stale cache differences between resolvers
diff <(dig +short @1.1.1.1 example.com) <(dig +short @8.8.8.8 example.com)
- tool
- dig11 commands
More dig commands
-
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
-
dig +short CAA example.comShow which CAs may issue certs; missing CAA lets any CA issue
-
dig +short SRV _sip._tcp.example.comGet priority/weight/port/target for a service; used by AD, SIP, XMPP
-
dig +tcp +ttlunits +noall +answer example.com @8.8.8.8Test TCP/53 reachability; +ttlunits prints TTL as 1h/30m not raw seconds