DNS settings for messages

Source: Internet
Author: User
Tags asymmetric encryption dkim record

For anti-spam, it is best to configure two DNS records under the domain name used by the sender: SPF and DKIM, they are used for anti-spam, the Mail accepts the server will check these two items, only meet the requirements to enter the user's mailbox.

In general, we use third-party mail services such as SendGrid, Postmarkapp, etc. when sending large quantities of mail, and they will give you the value of these two records,

dealer, add these two records under the domain name you sent the message to. For example, you use [email protected] to send mail, then you go to the fuck.com domain name to add these two records

1. Dkim Record

the basic working principle of DKIM is also based on the asymmetric encryption authentication method, which generates two sets of keys, public key and privatekey. The private key is placed in the outgoing mail server by the outgoing mail server product,

and attached to the message header. The public key is placed on the DNS server for automatic access. When the mail receiving server receives the message, it makes a comparison between the private key in the message header and the public key obtained from DNS . This enables the theft of the sender's name,

Change the attachment properties and other tricks failed.

2. SPF Record

An SPF record is a type of DNS record that is proposed to protect against spam, a type of TXT record that registers all IP addresses owned by a domain name for outgoing mail. As can be seen from the definition,

The role of SPF is mainly anti-spam, mainly for those who forged the domain name of the sender of Spam mail.

DNS settings for messages

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.