Help Center> Domain Name Service> FAQs> Email Domain Name Resolution> What Are Common Record Sets for Email Routing?

What Are Common Record Sets for Email Routing?

The DNS service provides domain name resolution for email servers. For details, see Configuring Record Sets for Email Servers.

The following types of record sets allow you to specify the email servers responsible for accepting email messages:

  • MX: sets the IP addresses for email servers.
  • TXT: sets an anti-spam policy for mailboxes.
  • CNAME: used to log in to web mailboxes through mail and access email servers over different mail transfer protocols.
    • The email service provider determines whether to allow end users to log in to the mailbox through Webmail.
    • Mail transfer protocols include SMTP, IMAP, POP, and POP3. Mail transfer protocols supported by an email server are determined by its settings.

In this FAQ, we provide procedures for configuring record sets for some common mailboxes.

Before the configuration, ensure that:

  • You have registered the domain name (example.com is used as an example).
  • You have created a public zone example.com on the DNS console.

Next, add record sets by referring to Configuring Record Sets for Email Servers.

If a third-party mailbox is used, you may need to set an at sign (@) as the domain name prefix. In this case, leave the Name field blank when you add record sets to the zone.

Huawei Cloud Enterprise Mailbox

If you have purchased Huawei Cloud Enterprise Mailbox, configure record sets by referring to Table 1.

Table 1 Example record sets for Huawei Cloud Enterprise Mailbox

Type

Name

Value

Description

MX

Leave this parameter blank.

5 mx1.sparkspace.huaweicloud.com

10 mx2.sparkspace.huaweicloud.com

The following are mail server addresses:

  • mx1.sparkspace.huaweicloud.com
  • mx2.sparkspace.huaweicloud.com

The addresses are provided by the email service provider. mx1.sparkspace.huaweicloud.com has a higher priority in receiving emails.

TXT

Leave this parameter blank.

"v=spf1 include:spf.sparkspace.huaweicloud.com -all"

SPF records are used to prevent spams. The record values are described as follows:

  • spf1 indicates the SPF version.
  • Emails sent from the address specified by spf.sparkspace.huaweicloud.com are not spams.

CNAME

mail

mail.sparkspace.huaweicloud.com

The domain name mail.example.com is used to log in to the web mailbox (mail.sparkspace.huaweicloud.com).

CNAME

smtp

smtp.sparkspace.huaweicloud.com

The domain name smtp.example.com serves as the address for accessing the email server (smtp.sparkspace.huaweicloud.com) over SMTP.

CNAME

imap

imap.sparkspace.huaweicloud.com

The domain name imap.example.com serves as the address for accessing the email server (imap.sparkspace.huaweicloud.com) over IMAP.

CNAME

pop

pop3.sparkspace.huaweicloud.com

The domain name pop.example.com serves as the address for accessing the email server (pop3.sparkspace.huaweicloud.com) over POP.

CNAME

pop3

pop3.sparkspace.huaweicloud.com

The domain name pop3.example.com serves as the address for accessing the email server (pop3.sparkspace.huaweicloud.com) over POP3.

Alibaba Cloud Enterprise Mailbox

If you have an Alibaba Cloud enterprise mailbox, configure record sets by referring to Table 2.

Table 2 Example record sets for an Alibaba Cloud enterprise mailbox

Type

Name

Value

Description

MX

Leave this parameter blank.

5 mx1.qiye.aliyun.com

10 mx2.qiye.aliyun.com

15 mx3.qiye.aliyun.com

The following are mail server addresses:

  • mx1.qiye.aliyun.com
  • mx2.qiye.aliyun.com
  • mx3.qiye.aliyun.com

The addresses are provided by the email service provider. When the email servers receive emails, mx1.qiye.aliyun.com enjoys the highest priority, followed by mx2.qiye.aliyun.com, and mx3.qiye.aliyun.com is the last one to receive emails.

TXT

Leave this parameter blank.

"v=spf1 include:spf.qiye.aliyun.com -all"

SPF records are used to prevent spams. The record values are described as follows:

  • spf1 indicates the SPF version.
  • Emails sent from the address specified by spf.qiye.aliyun.com are not spams.

CNAME

mail

qiye.aliyun.com

The domain name mail.example.com is used to log in to the web mailbox (qiye.aliyun.com).

CNAME

smtp

smtp.qiye.aliyun.com

The domain name smtp.example.com serves as the address for accessing the email server (smtp.qiye.aliyun.com) over SMTP.

CNAME

imap

imap.qiye.aliyun.com

The domain name imap.example.com serves as the address for accessing the email server (imap.qiye.aliyun.com) over IMAP.

CNAME

pop3

pop.qiye.aliyun.com

The domain name pop3.example.com serves as the address for accessing the email server (pop.qiye.aliyun.com) over POP3.

Free NetEase Mailbox

If you have a free NetEase mailbox, configure record sets by referring to Table 3.

Table 3 Example record sets for a free NetEase mailbox

Type

Name

Value

Description

MX

Leave this parameter blank.

10 mx.ym.163.com

The mail server address is 10 mx.ym.163.com.

The addresses are provided by the email service provider.

TXT

Leave this parameter blank.

"v=spf1 include:spf.163.com ~all"

SPF records are used to prevent spams. The record values are described as follows:

  • spf1 indicates the SPF version.
  • Emails sent from the address specified by spf.163.com are not spams.

CNAME

mail

ym.163.com

The domain name mail.example.com is used to log in to the web mailbox (ym.163.com).

CNAME

smtp

smtp.ym.163.com

The domain name smtp.example.com serves as the address for accessing the email server (smtp.ym.163.com) over SMTP.

CNAME

imap

imap.ym.163.com

The domain name imap.example.com serves as the address for accessing the email server (imap.ym.163.com) over IMAP.

CNAME

pop3

pop.ym.163.com

The domain name pop3.example.com serves as the address for accessing the email server (pop.ym.163.com) over POP3.

NetEase enterprise mailbox

If you have a paid NetEase mailbox, configure record sets by referring to Table 4.

Table 4 Example record sets for a paid NetEase mailbox

Type

Name

Value

Description

MX

Leave this parameter blank.

5 qiye163mx01.mxmail.netease.com

10 qiye163mx02.mxmail.netease.com

The following are mail server addresses:

  • 5 qiye163mx01.mxmail.netease.com
  • 10 qiye163mx02.mxmail.netease.com

The addresses are provided by the email service provider.

qiye163mx01.mxmail.netease.com has a higher priority in receiving emails.

TXT

Leave this parameter blank.

"v=spf1 include:spf.163.com -all"

SPF records are used to prevent spams. The record values are described as follows:

  • spf1 indicates the SPF version.
  • Emails sent from the address specified by spf.163.com are not spams.

TXT

_dmarc

"v=DMARC1; p=none; fo=1; ruf=mailto:dmarc@qiye.163.com; rua=mailto:dmarc_report@qiye.163.com "

DMARC records are used to prevent spams. The record values are described as follows:

  • DMARC1 is the DMARC version.
  • Notify the recipient of ignoring the emails when the sender is deleted forged.
  • When detecting a forged email, the recipient sends the detection result to dmarc@qiye.163.com.
  • The DMARC comprehensive detection report is sent to dmarc_report@qiye.163.com.

CNAME

mail

mail.qiye.163.com

The domain name mail.example.com is used to log in to the web mailbox (qiye.163.com).

CNAME

smtp

smtp.qiye.163.com

The domain name smtp.example.com serves as the address for accessing the email server (smtp.qiye.163.com) over SMTP.

CNAME

imap

imap.qiye.163.com

The domain name imap.example.com serves as the address for accessing the email server (imap.qiye.163.com) over IMAP.

CNAME

pop3

pop.qiye.163.com

The domain name pop3.example.com serves as the address for accessing the email server (pop.qiye.163.com) over POP.

Tencent Enterprise Mailbox

If you have a Tencent enterprise mailbox, configure record sets by referring to Table 5.

Table 5 Example record sets for a Tencent enterprise mailbox

Type

Name

Value

Description

MX

Leave this parameter blank.

5 mxbiz1.qq.com

10 mxbiz2.qq.com

The following are mail server addresses:

  • 5 mxbiz1.qq.com
  • 10 mxbiz2.qq.com

The addresses are provided by the email service provider.

mxbiz1.qq.com has a higher priority in receiving emails.

TXT

Leave this parameter blank.

"v=spf1 include:spf.mail.qq.com ~all"

SPF records are used to prevent spams. The record values are described as follows:

  • spf1 indicates the SPF version.
  • Emails sent from the address specified by spf.mail.qq.com are not spams.

CNAME

mail

exmail.qq.com

The domain name mail.example.com is used to log in to the web mailbox (exmail.qq.com).

CNAME

smtp

smtp.exmail.qq.com

The domain name smtp.example.com serves as the address for accessing the email server (smtp.exmail.qq.com) over SMTP.

CNAME

imap

imap.exmail.qq.com

The domain name imap.example.com serves as the address for accessing the email server (imap.exmail.qq.com) over IMAP.

CNAME

pop3

pop.exmail.qq.com

The domain name pop3.example.com serves as the address for accessing the email server (pop.exmail.qq.com) over POP.

Users outside China can use the following mail server addresses:

  • Email receiving server: hwpop.exmail.qq.com
  • Email receiving server: hwimap.exmail.qq.com
  • Email sending server: hwsmtp.exmail.qq.com