There is a lookup limit of 10 entries, so you need to ensure that you consolidate your sending sources within this lookup limit.
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 'sampledomain.com' - note that the entries are for example purposes only.
v=spf1 a mx a:mail.domain.com a:mail.domain.ie a:server5.somedomain.com a:server7.somedomain.com mx:server95.somedomain.com include:thatdomain.com ip4:192.168.0.1 ip4:192.168.0.2 -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:
- spf1.sampledomain.com TXT
v=spf1 a mx a:mail.domain.com a:mail.domain.ie a:server5.somedomain.com -all
- spf2.sampledomain.com TXT
v=spf1 server7.somedomain.com mx:server95.somedomain.com include:thatdomain.com -all
- spf3.sampledomain.com TXT
v=spf1 ip4:192.168.0.1 ip4:192.168.0.2 -all
Note: You can create more records as required.
Then amend the initial SPF as follows:
v=spf1 include:spf1.sampledomain.com include:spf2.sampledomain.com include:spf3.sampledomain.com -all"
Once DNS updates, all records would be read as one by recipient servers.
Refer to the following article in relation to adding/amending DNS for a domain on our Shared Hosting control panel (cp.blacknight.com):
Article is closed for comments.