问题原文
原帖链接 · userSteve · CC BY-SA 3.0
I am adding a domain (xero.com) to our existing SPF record, to allow marketing emails to be sent from an external system and appear as if they are from us.
The SPF record for xero.com is large and including it would take our own SPF record over the 10 lookup limit, resulting in error Permanent Error: Too many DNS lookup
This is unfortunate, but what effect if any does this error actually have (for both hard and soft fail)? Will it prevent any mail being sent, or allow all, or just ignore this included domain?
In addition to this, we advise some of our clients to include our domain in their SPF records so we can send mail on their behalf.
Could increasing the included domains on our SPF record have a negative impact on theirs?
Conversely, if I get round this problem by setting our SPF record to v=spf1 +all to allow everything, could this also have an undesired effect for our clients that might use our domain in their SPF record?
已采纳解答
原帖链接 · BillThor · CC BY-SA 3.0
The effect is that your SPF record is ignored. Please do the following. Your SPF record requires 6 lookups excluding any MX and A records included in the record. (An MX record lookup may result in 2 or more lookups.)
- Use IPv4 or IPv6 addresses ranges in your SPF record not names. This will prevent additional lookups.
- Don't include MX if you are providing IP addresses for the servers.
- You are using google as the MX, which is handled by the
include:_spf.google.comentry. You don't need the MX specification.
Consider setting up DMARC with a reporting address so you can determine if you could set a -all policy. You will get reports on how well you are following your policy and failure rates. Use a report disposition until the only failure reports you get are for email that does not originate from your domain. Don't set your SPF policy to -all until you are sure you have listed all the valid senders in your SPF record.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
