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.