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.
विवरण
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.
विवरण
Duplicate key name. The key name in a TKEY negotiation is already in use or conflicts with an existing key.
जब आप इसे देखें
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.
कैसे ठीक करें
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.
मुख्य अंतर
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.
DNS 20: Duplicate key name. The key name in a TKEY negotiation is already in use or conflicts with an existing key.
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).
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.
कब किसका उपयोग करें
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.