host -t TXT example.com

Category: Mail Servers & Postfix

host -t TXT example.com

Show TXT records including SPF

Lists every TXT record for the domain, which typically includes the SPF record and often a verification token for Google or other providers. Scan the output for v=spf1 to confirm SPF is published.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.