DNS

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.

Descripción

Name Exists when it should not. Used in dynamic updates to indicate a name that should not exist already has records.

Cuándo lo verás

A DNS UPDATE prerequisite check failed because the domain name already exists when the update expected it to be absent.

Cómo solucionarlo

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.

Descripción

RR Set Exists when it should not. A resource record set exists that the update prerequisite says should not.

Cuándo lo verás

A DNS UPDATE failed because a specific RRset (e.g., an A record) already exists when the prerequisite required it to be absent.

Cómo solucionarlo

Delete the conflicting RRset before retrying the update, or adjust your prerequisite conditions to match the actual zone state.

Diferencias clave

1.

DNS 6: Name Exists when it should not. Used in dynamic updates to indicate a name that should not exist already has records.

2.

DNS 7: RR Set Exists when it should not. A resource record set exists that the update prerequisite says should not.

3.

You encounter 6 when a DNS UPDATE prerequisite check failed because the domain name already exists when the update expected it to be absent.

4.

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.

Cuándo usar cada uno

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.

Saber más