What is SPF?
Is the sender policy framework. SPF can prevent others from forging your email. It is a solution for anti-spoofing emails. After you define the SPF record of your domain name, the recipient determines whether the connected IP address is included in the SPF record based on your SPF record, it is regarded as a correct email; otherwise it is regarded as a forged email. For more information, see rfc4408 (http://www.ietf.org/rfc/rfc4408.txt)
How to add SPF records
It is very easy to add TXT records in DNS. Log onto the http://www.openspf.org/enter your domain name in it, click go, and then you will automatically get some information about your domain name.
- A: Yes is generally used for the record of your domain name, because he may send an email.
- MX is usually Yes, And the MX Server will return a message.
- PTR: No, officially recommended.
- A: Are there other second-level domain names? For example, if bbs.vgolive.com and WWW are not on the same server, enter bbs.vgolive.com. Otherwise, empty it.
- MX: Generally, there will be no other MX records.
- Ip4: Do you have any other IP addresses to send emails? If your SMTP server is independent, enter your IP address or network segment.
- Include: if an ISP may be used to send a mail, which has its own SPF record, enter the domain name of this ISP, such as Sina.com.
- ~ ALL: Except the above, none of them agree. Yes, of course.