Help Center> Domain Name Service> FAQs> Public Zones> Why Is a Message Indicating Conflict with an Existing Record Set Displayed When I Add a Record Set?
Updated on 2023-12-01 GMT+08:00

Why Is a Message Indicating Conflict with an Existing Record Set Displayed When I Add a Record Set?

If message "This record set is in conflict with an existing one" is displayed, the record set you are trying to add conflicts with or is the same as an existing record set.

Table 1 lists the rules.

Table 1 Restrictions between record types
  

NS

CNAME

A

AAAA

MX

TXT

PTR

SRV

CAA

NS

No limita

Conflict

No limit

No limit

No limit

No limit

No limit

No limit

No limit

CNAME

Conflictb

No limit

Conflict

Conflict

Conflict

Conflict

Conflict

Conflict

Conflict

A

No limit

Conflict

No limit

No limit

No limit

No limit

No limit

No limit

No limit

AAAA

No limit

Conflict

No limit

No limit

No limit

No limit

No limit

No limit

No limit

MX

No limit

Conflict

No limit

No limit

No limit

No limit

No limit

No limit

No limit

TXT

No limit

Conflict

No limit

No limit

No limit

No limit

No limit

No limit

No limit

PTR

No limit

Conflict

No limit

No limit

No limit

No limit

No limit

No limit

No limit

SRV

No limit

Conflict

No limit

No limit

No limit

No limit

No limit

No limit

No limit

CAA

No limit

Conflict

No limit

No limit

No limit

No limit

No limit

No limit

No limit

a: NS record sets cannot be added for second-level domain names. There is no such restriction on subdomains.

b: For second-level domain names, CNAME and NS record sets can coexist. For subdomains, CNAME record sets conflict with NS record sets.

The rules are as follows:

  • Conflict: The two types of record sets cannot have the same resolution line.
  • No limit: The two types of record sets can coexist.

If the message is displayed, perform the following operations:

  • Delete the existing record set that conflicts with the record set that you want to add, and then add the record set back.

    Deleting a record set may cause domain name resolution to fail.

  • Set a different name for the record set.
  • Select a different line type.

The following are two examples how you can solve common record set conflicts.

Conflicts when Adding an NS Record Set

You have hosted domain name example.com on the DNS service. An NS record set and an SOA record set are automatically created for the hosted zone and cannot be deleted.

In Table 1, NS record sets cannot be added to example.com in the same resolution line.

In this case, use either of the following methods to add a record set:

  • Method 1: Add an NS record set for a subdomain of example.com.

    In the following figure, an NS record set is added to 123.example.com, and the value of the record set is ns.example.com.

    Figure 1 Adding an NS record set
  • Method 2: Add an NS record set to example.com, with a resolution line other than the default line.

    In the following figure, an NS record set with the line type set to ISP is added to example.com, and the value of the record set is ns.example.com.

    Figure 2 Adding an NS record set with an ISP line
  • Method 3: Change the value of the NS record set added to example.com.

    To configure a new DNS server address for a domain name, modify the value of the NS record set added to the hosted zone. For more information, see What Are Huawei Cloud DNS Servers?

Conflicts when Adding a CNAME Record Set (Pointing to an Email Server)

If you have hosted domain name example.com on the DNS service, add MX, TXT, or CNAME record sets to example.com.

In Table 1, if the record set names are the same, the CNAME record set conflicts with MX and TXT record sets with the same resolution line. In this case, you can add a CNAME record set with a different name.

For detailed operations, see Table 2.

Table 2 Email resolution records

Record Set Type

Name

Value

Description

MX

N/A

5 mx01.mailserver.com

10 mx02.mailserver.com

Email server address, which is obtained from the email service provider

TXT

N/A

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

SPF records used to prevent spam

CNAME

mail

mailserver.com

Use domain name mail.example.com to log in to the mailbox.

CNAME

smtp

smtp.mailserver.com

Use smtp.example.com as the alias of smtp.mailserver.com.

CNAME

imap

imap.mailserver.com

Use imap.example.com as the alias of imap.mailserver.com.

CNAME

pop

pop.mailserver.com

Use pop.example.com as the alias of pop.mailserver.com.

Public Zones FAQs

more