Query SPF, DKIM and DMARC at once
Get SPF, DMARC and DKIM TXT records in one loop for a mail audit
for r in example.com _dmarc.example.com sel._domainkey.example.com; do dig +short TXT $r; done
- tool
- dig11 commands
More dig commands
-
dig +short CAA example.comShow which CAs may issue certificates. With no CAA record, any CA can issue
-
dig +short SRV _sip._tcp.example.comGet priority, weight, port and target for a service. AD, SIP and XMPP use these records
-
dig +tcp +ttlunits +noall +answer example.com @8.8.8.8Check that TCP/53 works. +ttlunits prints TTL as 1h or 30m instead of raw seconds
-
dig +noall +answer example.comHide headers and stats and print only the answer. Good for scripts and diffs
-
dig +nssearch example.comQuery each authoritative NS directly. Shows if their SOA serials differ