DNS

DNS 4 NOTIMP vs 19 BADMODE

Both DNS 4 (NOTIMP) and 19 (BADMODE) belong to the DNS Response Codes (RCODEs) category. 4 indicates that not Implemented. The name server does not support the requested query type or operation. Meanwhile, 19 means that bad TKEY Mode. The TKEY mode field contains a value not supported by the server.

Mô tả

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

Khi bạn thấy mã này

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

Cách khắc phục

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

Mô tả

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

Khi bạn thấy mã này

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.

Cách khắc phục

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.

Sự khác biệt chính

1.

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

2.

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

3.

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

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.

Khi nào dùng cái nào

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. 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.

Tìm hiểu thêm