EdgeOne Logo
Documentation
请选择
请选择
Overview
Menu

Domain Service FAQs

Why do I get a CNAME and MX record conflict prompt when adding a DNS resolution record?

Take example.com as an example.
Record type
Host
Value
MX
www
mx.mail.com
CNAME
www
test.edgeone.com
When performing a recursive resolution query, each record type has different priority, and CNAME has the highest priority. See RFC1034 and RFC2181. Therefore, during the resolution request process, the CNAME resolution record result will be returned first. When the host record value is the same, CNAME record and MX record cannot be configured at the same time, and you will get a prompt about the conflict.

If you do need to add CNAME and MX records at the same time when the host record is @, EdgeOne allows you to configure CNAME and records at the same time:
Record type
Host
Value
MX
@
mx.mail.com
CNAME
@
test.edgeone.com
Reminder:
This configuration will lead to unstable mailbox reception. If the Local DNS of the mailbox server prioritizes the resolution of the CNAME type of the @ record, the resolution of the MX type of the @ record will be affected, resulting in a resolution failure. If the host record is not @ , but the MX and CNAME records still indicate a conflict, please refer to the description of other record type conflicts below.

Why do I get a CNAME and TXT record conflict prompt when adding a DNS resolution record?

Take example.com as an example.
Record type
Host
Value
TXT
www
edgeone-txt-flag
CNAME
www
test.edgeone.com
The CNAME record has the highest priority, so if the host record is the same, configuring the CNAME record and the TXT record at the same time may cause the TXT record to fail to be parsed. In this case, EdgeOne will prompt record conflict.

If you do need to add CNAME and MX records at the same time when the host record is @, EdgeOne allows you to configure CNAME and TXT records at the same time:
Record type
Host
Value
TXT
@
edgeone-txt-flag
CNAME
@
test.edgeone.com
Reminder:
This configuration will cause the TXT verification to fail, you can remove the CNAME record to solve this problem. TXT and CNAME records will still conflict when the host record is not @.

How do the record types conflict with one another?

See below for details:
✓: No conflict. When the HOST is the same, these two record types can both be configured. For example, after configuring the A record for www.example.com, you can still configure the MX record.
×: Conflict. When the HOST is the same, these two record types cannot be both configured. For example, after configuring the A record for www.example.com, you can not configure the CNAME record.
Record type
A
AAAA
CNAME
MX
NS
TXT
SRV
CAA
A
×
×
AAAA
×
×
CNAME
×
×
×
×
×
×
×
×
MX
×
×
NS
×
×
×
×
×
×
×
TXT
×
×
SRV
×
×
CAA
×
×
Note
The table above shows the conflict relatoinship when the HOST is not @. If the HOST is @, a CNAME record does not conflict with an MX or TXT record.

When the record type is A/AAAA/CNAME, can I configure both the resolution and acceleration when the HOST is the same?

Take the following configuration as an example:
Record type
Host
Value
A
www
1.1.1.1
A
www
2.2.2.2
In this case, if you want to enable acceleration for one record, there will be a conflict. To enable acceleration for 1.1.1.1, you need to delete 2.2.2.2 first.
Note
The above conflict happens on A/AAAA/CNAME records.