DNS 0 NOERROR vs 8 NXRRSET
Both DNS 0 (NOERROR) and 8 (NXRRSET) belong to the DNS Response Codes (RCODEs) category. 0 indicates that no error condition. The query completed successfully and the response contains the requested data. Meanwhile, 8 means that rR Set that should exist does not. A required resource record set is missing from the zone.
描述
No error condition. The query completed successfully and the response contains the requested data.
何时出现
This is the normal, successful response to any DNS query — the name was resolved and the answer section contains the requested records.
如何修复
No fix needed. RCODE 0 means the DNS lookup succeeded as expected.
描述
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.
主要区别
DNS 0: No error condition. The query completed successfully and the response contains the requested data.
DNS 8: RR Set that should exist does not. A required resource record set is missing from the zone.
You encounter 0 when this is the normal, successful response to any DNS query — the name was resolved and the answer section contains the requested records.
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 0 (NOERROR): No fix needed. RCODE 0 means the DNS lookup succeeded as expected. For 8 (NXRRSET): Create the missing RRset in the zone before retrying the update, or change the prerequisite to not require its existence.