Help Center/ Domain Name Service/ User Guide/ Public DNS Resolution/ DNS Rules/ Rules for Handling Record Set Conflicts
Updated on 2026-04-09 GMT+08:00

Rules for Handling Record Set Conflicts

Causes for Record Set Conflicts

Some record sets of the same name and line but different types cannot coexist. Otherwise, the resolution fails.

The possible causes are as follows:

  • Constraints on CNAME record sets: A CNAME record set cannot coexist with some types of record sets. For example, if a subdomain already has a CNAME record set configured, it cannot have other types of record sets, such as A or AAAA. Otherwise, resolution may fail.
  • Resolution sequence and priority: The DNS server resolves a domain name based on the record set type and priority. Improper configuration may cause resolution failure or conflict.
  • Multiple resolution paths: If a domain name has multiple record sets of different types, the DNS server resolves the domain name through different paths. This results in inconsistent or conflicting resolution results.

Record Set Conflict Rules

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 Conflicts between public zone record sets

Record Set Type

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

  • Conflict: The two types of record sets cannot coexist for the same name and line.
  • No limit: The two types of record sets can coexist.
  • 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.

Record Set Conflict Troubleshooting