DNS

DNS 0 NOERROR vs 19 BADMODE

Both DNS 0 (NOERROR) and 19 (BADMODE) 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, 19 means that bad TKEY Mode. The TKEY mode field contains a value not supported by the server.

설명

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.

설명

Bad TKEY Mode. The TKEY mode field contains a value not supported by the server.

이 코드를 보게 되는 경우

Your client attempted a TKEY key exchange using a mode (e.g., Diffie-Hellman, GSS-API) that the server does not support or has not been configured for.

해결 방법

Check which TKEY modes the server supports and configure your client to use a compatible mode. GSS-TSIG (mode 3) is the most widely deployed.

주요 차이점

1.

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

2.

DNS 19: Bad TKEY Mode. The TKEY mode field contains a value not supported by the server.

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 19 when your client attempted a TKEY key exchange using a mode (e.g., Diffie-Hellman, GSS-API) that the server does not support or has not been configured for.

언제 어떤 것을 사용할지

For 0 (NOERROR): No fix needed. RCODE 0 means the DNS lookup succeeded as expected. For 19 (BADMODE): Check which TKEY modes the server supports and configure your client to use a compatible mode. GSS-TSIG (mode 3) is the most widely deployed.

더 알아보기