DNS

DNS 10 NOTZONE vs 20 BADNAME

Both DNS 10 (NOTZONE) and 20 (BADNAME) 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, 20 means that duplicate key name. The key name in a TKEY negotiation is already in use or conflicts with an existing key.

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

Duplicate key name. The key name in a TKEY negotiation is already in use or conflicts with an existing key.

Quand vous le voyez

A TKEY key establishment failed because a key with the same name already exists on the server from a previous session that was not properly cleaned up.

Comment résoudre

Use a unique key name for each TKEY session (e.g., append a timestamp or random suffix). Delete stale keys on the server if they are no longer needed.

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 20: Duplicate key name. The key name in a TKEY negotiation is already in use or conflicts with an existing key.

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 20 when a TKEY key establishment failed because a key with the same name already exists on the server from a previous session that was not properly cleaned up.

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 20 (BADNAME): Use a unique key name for each TKEY session (e.g., append a timestamp or random suffix). Delete stale keys on the server if they are no longer needed.

En savoir plus