DNS

DNS 0 NOERROR vs 4 NOTIMP

Both DNS 0 (NOERROR) and 4 (NOTIMP) 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, 4 means that not Implemented. The name server does not support the requested query type or operation.

描述

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.

描述

Not Implemented. The name server does not support the requested query type or operation.

何时出现

You sent a query type (e.g., IXFR, dynamic update) that the server does not support or has disabled.

如何修复

Verify the server supports the query type you are using. If you need zone transfers or dynamic updates, enable them in the server configuration.

主要区别

1.

DNS 0: No error condition. The query completed successfully and the response contains the requested data.

2.

DNS 4: Not Implemented. The name server does not support the requested query type or operation.

3.

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.

4.

You encounter 4 when you sent a query type (e.g., IXFR, dynamic update) that the server does not support or has disabled.

何时使用哪个

For 0 (NOERROR): No fix needed. RCODE 0 means the DNS lookup succeeded as expected. For 4 (NOTIMP): Verify the server supports the query type you are using. If you need zone transfers or dynamic updates, enable them in the server configuration.

了解更多