how to check if spf record is set

Fraser Tweedale Fraser at mail.frase.id.au
Mon Jun 2 23:09:32 UTC 2008


On Mon, Jun 02, 2008 at 04:34:47PM -0500, Paul Schmehl wrote:
> --On Tuesday, June 03, 2008 01:09:57 +0400 Yuri Pankov <yuri.pankov at gmail.com> 
> wrote:
> 
> > Zbigniew Szalbot wrote:
> >> Hello,
> >>
> >> Pardon my lack of knowledge but how can one check if SPF record is
> >> correctly set using standard UNIX tools?
> >> dig? host?
> >>
> >> $ man dig |grep spf
> >> $ man host |grep spf
> >>
> >> yield nothing. Many thanks!
> >>
> >
> > SPF uses TXT record, so a simple `host -t txt yourdomain.com` should do the
> > trick.
> >
> >
> > HTH,
> > Yuri
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> >
> 
> Or "#dig -t TXT domain.tld" will do the same thing.
> 
> -- 
> Paul Schmehl
> As if it wasn't already obvious,
> my opinions are my own and not
> those of my employer.
> 

You don't even need the -t flag.  `dig TXT host` will do the trick... and let's not forget about the newer, dedicated SPF record type; to query that, use `dig SPF host`.

frase
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080602/a75427c8/attachment.pgp


More information about the freebsd-questions mailing list