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.
Description
RR Set Exists when it should not. A resource record set exists that the update prerequisite says should not.
When You See It
A DNS UPDATE failed because a specific RRset (e.g., an A record) already exists when the prerequisite required it to be absent.
How to Fix
Delete the conflicting RRset before retrying the update, or adjust your prerequisite conditions to match the actual zone state.
Description
RR Set that should exist does not. A required resource record set is missing from the zone.
When You See It
A DNS UPDATE prerequisite expected a certain RRset to exist (e.g., an MX record), but the zone does not contain it.
How to Fix
Create the missing RRset in the zone before retrying the update, or change the prerequisite to not require its existence.
Key Differences
DNS 7: RR Set Exists when it should not. A resource record set exists that the update prerequisite says should not.
DNS 8: RR Set that should exist does not. A required resource record set is missing from the zone.
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.
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.
When to Use Which
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.