Musings from a small IPP

Making a big SPF record

by on Dec.03, 2009, under SPF the Sender Policy Framework

“Ok so how do I make a big SPF record? I’ve run over the size of a DNS TXT record.”

Well as I commented elsewhere you can’t simply have a bunch of records as only the first one received will be applied, and if the software notices there’s more than one it’ll throw a wobbly. You can however split your spf record up like this:

@           IN      TXT     "v=spf1 a mx -all"
part1       IN      TXT     "v=spf1 ip4: -all"
part2       IN      TXT     "v=spf1 ip4: -all"
part3       IN      TXT     "v=spf1 ip4: -all"

Of course if you’re setting up for a large multinational, then it’s sensible to make the included parts correspond to your national gateways so you can use the a and mx tags, and avoid having to set up separate SPF records for national presentation.


Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...