dig +short TXT example.com

Category: Mail Servers & Postfix

dig +short TXT example.com

Show the SPF record for a domain

Prints the SPF record, which lists the servers allowed to send for the domain, usually starting with v=spf1 and ending in -all or ~all. A missing record is a deliverability red flag. Use `rspamadm dnstool spf` for a decoded breakdown.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.