DNS 6 YXDOMAIN vs 8 NXRRSET
Both DNS 6 (YXDOMAIN) and 8 (NXRRSET) 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, 8 means that rR Set that should exist does not. A required resource record set is missing from the zone.
Mô tả
Name Exists when it should not. Used in dynamic updates to indicate a name that should not exist already has records.
Khi bạn thấy mã này
A DNS UPDATE prerequisite check failed because the domain name already exists when the update expected it to be absent.
Cách khắc phục
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.
Mô tả
RR Set that should exist does not. A required resource record set is missing from the zone.
Khi bạn thấy mã này
A DNS UPDATE prerequisite expected a certain RRset to exist (e.g., an MX record), but the zone does not contain it.
Cách khắc phục
Create the missing RRset in the zone before retrying the update, or change the prerequisite to not require its existence.
Sự khác biệt chính
DNS 6: Name Exists when it should not. Used in dynamic updates to indicate a name that should not exist already has records.
DNS 8: RR Set that should exist does not. A required resource record set is missing from the zone.
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 8 when a DNS UPDATE prerequisite expected a certain RRset to exist (e.g., an MX record), but the zone does not contain it.
Khi nào dùng cái nào
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 8 (NXRRSET): Create the missing RRset in the zone before retrying the update, or change the prerequisite to not require its existence.