DNS 1 FORMERR vs 10 NOTZONE
Both DNS 1 (FORMERR) and 10 (NOTZONE) belong to the DNS Response Codes (RCODEs) category. 1 indicates that format error. The name server was unable to interpret the query due to a malformed DNS message. 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.
Descrição
Format error. The name server was unable to interpret the query due to a malformed DNS message.
Quando você o vê
Your DNS client or library sent a query the server could not parse, often caused by a buggy resolver, corrupted packet, or unsupported EDNS options.
Como corrigir
Check your DNS client or library version for known bugs. Capture the raw query with dig or Wireshark and verify it conforms to the DNS wire format.
Descrição
Name not contained in zone. A name used in the Prerequisite or Update section is not within the zone denoted by the Zone section.
Quando você o vê
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).
Como corrigir
Ensure all names in the update are within the target zone. Check for typos in the zone name or the records being updated.
Diferenças principais
DNS 1: Format error. The name server was unable to interpret the query due to a malformed DNS message.
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 1 when your DNS client or library sent a query the server could not parse, often caused by a buggy resolver, corrupted packet, or unsupported EDNS options.
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).
Quando usar qual
For 1 (FORMERR): Check your DNS client or library version for known bugs. Capture the raw query with dig or Wireshark and verify it conforms to the DNS wire format. 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.