我已经inheritance了一个TinyDNSconfiguration,其中包含以下SPF条目:
@domain.com:xxx3:a::86400 @domain.com:xxx103:c:10:86400 =domain.com:xxx3:86400 =mail.domain.com:xxx3:86400 =mail.domain.com:xxx103:86400 'domain.com:v=spf1 ip4\072x.xx3 ip4\07231.130.96.103 ptr\072mail.domain.com +mx a -all:3600 'mail.domain.com:v=spf1 ip4\072x.xx3 ip4\072x.xx103 ptr\072mail.domain.com +mx a -all:3600 'a.mx.domain.com:v=spf1 ip4\072x.xx3 ip4\072x.xx103 ptr\072mail.domain.com +mx a -all:3600
这是http://www.kitterman.com/spf/validate.html的结果
SPF record lookup and validation for: domain.com SPF records are primarily published in DNS as TXT records. The TXT records found for your domain are: v=spf1 ip4:xxx3 ip4:xxx103 ptr:mail.domain.com +mx a -all SPF records should also be published in DNS as type SPF records. No type SPF records found. Checking to see if there is a valid SPF record. Found v=spf1 record for domain.com: v=spf1 ip4:xxx3 ip4:xxx103 ptr:mail.domain.com +mx a -all evaluating... SPF record passed validation test with pySPF (Python SPF library)!
我从昨天挣扎着,不能确定为什么这个validation器返回No type SPF records found. 我在BIND中看到,我们用example.com. IN SPF "v=spf1 a -all"定义了SPFtypes的loggingexample.com. IN SPF "v=spf1 a -all" example.com. IN SPF "v=spf1 a -all" ,但是在TinyDNS中,我们只有我们为SPF设置的TXTlogging,也许这是一个问题?
SPF RR Type在所有DNS服务器实现中都不可用,这就是为什么RFC允许消费者回退到TXTlogging评估。
如果TinyDNS没有SPFloggingtypes,你的configuration就好了。
您可以手动inputtinydns格式的spf(99型)logging。 诀窍是你必须包含八进制格式的数据长度。
这里是一个例子:
:example.com:99:\041v=spf1 ip4\072192.168.001.01/30 -all:3600
第一个:表示example.com的通用logging。 99指定了loggingtypes99. \ 041是33的八进制数,这是数据中的字符数。 \ 072是八进制的:,将所有编码的八进制字符计数为1个字符。
信贷在Robert Thille的博客中发布 – http://osdir.com/ml/mail.spam.spf.help/2006-12/msg00065.html