Answer (use this in your TXT record):
"v=spf1 a mx include:_spf.mail.yahoo.com ?all"
So far the answers all show the host
command. Which is fine.
"dig" / "host" / "nslookup" all work for Linux and grabbing TXT records.
dig
is my favorite:
dig @ns1.yahoo.com yahoo.com TXT
Will show you all the TXT records (and SPF) for the domain (apex in this case).
Under Windows CMD or Powershell use nslookup
:
nslookup -type=TXT yahoo.com
PS C:\Windows\system32>nslookup -type=TXT yahoo.com
Server: my.localdomain
Address: 10.10.10.1
Non-authoritative answer:
yahoo.com text =
"v=spf1 redirect=_spf.mail.yahoo.com"
yahoo.com text =
"facebook-domain-verification=gysqrcd69g0ej34f4jfn0huivkym1p"
yahoo.com text =
"edb3bff2c0d64622a9b2250438277a59"
or for an authoritative answer:
nslookup -type=TXT yahoo.com ns1.yahoo.com