TinyDNS and proper settings for SPF records
Posted
by
Teddy
on Server Fault
See other posts from Server Fault
or by Teddy
Published on 2013-10-25T07:15:37Z
Indexed on
2013/10/25
9:58 UTC
Read the original article
Hit count: 551
I've inherited a TinyDNS configuration that have following entries for SPF:
@domain.com:x.x.x.3:a::86400
@domain.com:x.x.x.103:c:10:86400
=domain.com:x.x.x.3:86400
=mail.domain.com:x.x.x.3:86400
=mail.domain.com:x.x.x.103:86400
'domain.com:v=spf1 ip4\072x.x.x.3 ip4\07231.130.96.103 ptr\072mail.domain.com +mx a -all:3600
'mail.domain.com:v=spf1 ip4\072x.x.x.3 ip4\072x.x.x.103 ptr\072mail.domain.com +mx a -all:3600
'a.mx.domain.com:v=spf1 ip4\072x.x.x.3 ip4\072x.x.x.103 ptr\072mail.domain.com +mx a -all:3600
This is the result from 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:x.x.x.3 ip4:x.x.x.103 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:x.x.x.3 ip4:x.x.x.103 ptr:mail.domain.com +mx a -all
evaluating...
SPF record passed validation test with pySPF (Python SPF library)!
I'm struggling with this from yesterday and cant figure it why this validator returns No type SPF records found.
I see in BIND we cand define SPF type record with example.com. IN SPF "v=spf1 a -all"
, but in TinyDNS we only have TXT records that we set for SPF, maybe this is a problem?
© Server Fault or respective owner