DNS 6 YXDOMAIN vs 7 YXRRSET
Both DNS 6 (YXDOMAIN) and 7 (YXRRSET) belong to the DNS Response Codes (RCODEs) category. 6 indicates that name Exists when it should not. Used in dynamic updates to indicate a name that should not exist already has records. Meanwhile, 7 means that rR Set Exists when it should not. A resource record set exists that the update prerequisite says should not.
Descrição
Name Exists when it should not. Used in dynamic updates to indicate a name that should not exist already has records.
Quando você o vê
A DNS UPDATE prerequisite check failed because the domain name already exists when the update expected it to be absent.
Como corrigir
Review your dynamic update prerequisites. If you expect to create a new name, remove the existing records first or change the prerequisite to allow existing names.
Descrição
RR Set Exists when it should not. A resource record set exists that the update prerequisite says should not.
Quando você o vê
A DNS UPDATE failed because a specific RRset (e.g., an A record) already exists when the prerequisite required it to be absent.
Como corrigir
Delete the conflicting RRset before retrying the update, or adjust your prerequisite conditions to match the actual zone state.
Diferenças principais
DNS 6: Name Exists when it should not. Used in dynamic updates to indicate a name that should not exist already has records.
DNS 7: RR Set Exists when it should not. A resource record set exists that the update prerequisite says should not.
You encounter 6 when a DNS UPDATE prerequisite check failed because the domain name already exists when the update expected it to be absent.
You encounter 7 when a DNS UPDATE failed because a specific RRset (e.g., an A record) already exists when the prerequisite required it to be absent.
Quando usar qual
For 6 (YXDOMAIN): Review your dynamic update prerequisites. If you expect to create a new name, remove the existing records first or change the prerequisite to allow existing names. For 7 (YXRRSET): Delete the conflicting RRset before retrying the update, or adjust your prerequisite conditions to match the actual zone state.