DNS

DNS 10 NOTZONE vs 17 BADKEY

Both DNS 10 (NOTZONE) and 17 (BADKEY) 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, 17 means that key not recognized. The TSIG key name in the message is not configured on the server.

Description

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

Quand vous le voyez

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

Comment résoudre

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

Description

Key not recognized. The TSIG key name in the message is not configured on the server.

Quand vous le voyez

Your TSIG-signed query or update references a key name that the server does not have in its keyring, so it cannot verify the signature.

Comment résoudre

Ensure the TSIG key name matches exactly (case-sensitive) on both client and server. Add the missing key to the server's configuration if it is a new key.

Différences clés

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 17: Key not recognized. The TSIG key name in the message is not configured on 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 17 when your TSIG-signed query or update references a key name that the server does not have in its keyring, so it cannot verify the signature.

Quand utiliser lequel

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 17 (BADKEY): Ensure the TSIG key name matches exactly (case-sensitive) on both client and server. Add the missing key to the server's configuration if it is a new key.

En savoir plus