DNS

DNS 7 YXRRSET vs 8 NXRRSET

Both DNS 7 (YXRRSET) and 8 (NXRRSET) belong to the DNS Response Codes (RCODEs) category. 7 indicates that rR Set Exists when it should not. A resource record set exists that the update prerequisite says should not. Meanwhile, 8 means that rR Set that should exist does not. A required resource record set is missing from the zone.

描述

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

何时出现

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

如何修复

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

描述

RR Set that should exist does not. A required resource record set is missing from the zone.

何时出现

A DNS UPDATE prerequisite expected a certain RRset to exist (e.g., an MX record), but the zone does not contain it.

如何修复

Create the missing RRset in the zone before retrying the update, or change the prerequisite to not require its existence.

主要区别

1.

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

2.

DNS 8: RR Set that should exist does not. A required resource record set is missing from the zone.

3.

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.

4.

You encounter 8 when a DNS UPDATE prerequisite expected a certain RRset to exist (e.g., an MX record), but the zone does not contain it.

何时使用哪个

For 7 (YXRRSET): Delete the conflicting RRset before retrying the update, or adjust your prerequisite conditions to match the actual zone state. For 8 (NXRRSET): Create the missing RRset in the zone before retrying the update, or change the prerequisite to not require its existence.

了解更多