DNS 6 YXDOMAIN vs 10 NOTZONE
Both DNS 6 (YXDOMAIN) and 10 (NOTZONE) 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, 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.
คำอธิบาย
Name Exists when it should not. Used in dynamic updates to indicate a name that should not exist already has records.
เมื่อคุณพบเห็น
A DNS UPDATE prerequisite check failed because the domain name already exists when the update expected it to be absent.
วิธีแก้ไข
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.
คำอธิบาย
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.
ความแตกต่างหลัก
DNS 6: Name Exists when it should not. Used in dynamic updates to indicate a name that should not exist already has records.
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.
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 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 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 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.