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.
描述
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.
描述
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.
主要区别
DNS 4: Not Implemented. The name server does not support the requested query type or operation.
DNS 19: Bad TKEY Mode. The TKEY mode field contains a value not supported by the server.
You encounter 4 when you sent a query type (e.g., IXFR, dynamic update) that the server does not support or has disabled.
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 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.