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.
Deskripsi
Name not contained in zone. A name used in the Prerequisite or Update section is not within the zone denoted by the Zone section.
Ketika Anda Melihatnya
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).
Cara Memperbaiki
Ensure all names in the update are within the target zone. Check for typos in the zone name or the records being updated.
Deskripsi
Duplicate key name. The key name in a TKEY negotiation is already in use or conflicts with an existing key.
Ketika Anda Melihatnya
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.
Cara Memperbaiki
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.
Perbedaan Utama
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.
Kapan Menggunakan Yang Mana
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.