DNS

DNS 7 YXRRSET vs 10 NOTZONE

Both DNS 7 (YXRRSET) and 10 (NOTZONE) 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, 10 means that name not contained in zone. A name used in the Prerequisite or Update section is not within the zone denoted by the Zone section.

描述

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.

描述

Name not contained in zone. A name used in the Prerequisite or Update section is not within the zone denoted by the Zone section.

何时出现

Your dynamic update tried to modify a record that falls outside the zone specified in the update message (e.g., updating foo.example.org in the example.com zone).

如何修复

Ensure all names in the update are within the target zone. Check for typos in the zone name or the records being updated.

主要区别

1.

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

2.

DNS 10: Name not contained in zone. A name used in the Prerequisite or Update section is not within the zone denoted by the Zone section.

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 10 when your dynamic update tried to modify a record that falls outside the zone specified in the update message (e.g., updating foo.example.org in the example.com zone).

何时使用哪个

For 7 (YXRRSET): Delete the conflicting RRset before retrying the update, or adjust your prerequisite conditions to match the actual zone state. For 10 (NOTZONE): Ensure all names in the update are within the target zone. Check for typos in the zone name or the records being updated.

了解更多