DNS

DNS 10 NOTZONE vs 19 BADMODE

Both DNS 10 (NOTZONE) and 19 (BADMODE) belong to the DNS Response Codes (RCODEs) category. 10 indicates that name not contained in zone. A name used in the Prerequisite or Update section is not within the zone denoted by the Zone section. Meanwhile, 19 means that bad TKEY Mode. The TKEY mode field contains a value not supported by the server.

描述

Name not contained in zone. A name used in the Prerequisite or Update section is not within the zone denoted by the Zone section.

何时出现

Your dynamic update tried to modify a record that falls outside the zone specified in the update message (e.g., updating foo.example.org in the example.com zone).

如何修复

Ensure all names in the update are within the target zone. Check for typos in the zone name or the records being updated.

描述

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 10: Name not contained in zone. A name used in the Prerequisite or Update section is not within the zone denoted by the Zone section.

2.

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

3.

You encounter 10 when your dynamic update tried to modify a record that falls outside the zone specified in the update message (e.g., updating foo.example.org in the example.com zone).

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 10 (NOTZONE): Ensure all names in the update are within the target zone. Check for typos in the zone name or the records being updated. 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.

了解更多