Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Suppose you have the domain yourdomain.com, and you have set the following SPF:

v=spf1 +ptr:yourdomain.com ~all

Now, I have the IP address 1.2.3.4, and I am also the administrator of 3.2.1.in-addr.arpa. I can specify

4 IN PTR fake.yourdomain.com.

and then I can send emails from my machine, pretending it's one of the yourdomain.com machines.

Is this a significant risk? Should I avoid using ptr in the SPF?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

According to wikipedia using PTR will also forward confirm the PTR (IE 1.2.3.4 might resolve to fake.yourdomain.com but fake.yourdomain.com points to 5.4.3.2)

http://en.wikipedia.org/wiki/Sender_Policy_Framework

http://en.wikipedia.org/wiki/Forward-confirmed_reverse_DNS

share|improve this answer
    
Thanks. See also openspf.org/SPF_Record_Syntax for a more reliable source. –  Antonis Christofides Nov 14 '12 at 12:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.