DNS 9 NOTAUTH vs 10 NOTZONE
Both DNS 9 (NOTAUTH) and 10 (NOTZONE) belong to the DNS Response Codes (RCODEs) category. 9 indicates that server Not Authoritative for zone, or Not Authorized. The server is not authoritative for the zone named in the Zone section. Meanwhile, 10 means 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.
설명
Server Not Authoritative for zone, or Not Authorized. The server is not authoritative for the zone named in the Zone section.
이 코드를 보게 되는 경우
You sent a dynamic update or zone operation to a server that is not the authoritative master for that zone, or the server rejected it due to TSIG authentication failure.
해결 방법
Send the update to the correct primary authoritative server for the zone. If using TSIG, verify the key name and secret match on both client and 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.
주요 차이점
DNS 9: Server Not Authoritative for zone, or Not Authorized. The server is not authoritative for the zone named in the Zone section.
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.
You encounter 9 when you sent a dynamic update or zone operation to a server that is not the authoritative master for that zone, or the server rejected it due to TSIG authentication failure.
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).
언제 어떤 것을 사용할지
For 9 (NOTAUTH): Send the update to the correct primary authoritative server for the zone. If using TSIG, verify the key name and secret match on both client and server. 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.