How to create large or multiple SPF records that exceed length

If it is a case you need to enter multiple entries for an SPF TXT record, for a domain, it is suggested that you split the record up into multiple smaller records.

Consider the following SPF record for ‘’ – note that the entries are for example purposes only. TXT
v=spf1 a mx ip4: ip4: ip4:192.168.03 ip4: ip4: -all

This record above is too long and needs to be shortened; you will have to split this up into two or more records and include them in the main SPF record.

Create the following SPF records on the domain name:

  • TXT
    v=spf1 a mx -all
  • TXT
    v=spf1 -all
  • TXT
    v=spf1 ip4: ip4: ip4:192.168.03 ip4: ip4: -all

Note: You can create more records as required.

Then amend the initial SPF as follows: TXT
v=spf1 -all”

Once DNS updates, all records would be read as one by recipient servers.


Source :

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.