DNS

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.

คำอธิบาย

Format error. The name server was unable to interpret the query due to a malformed DNS message.

เมื่อคุณพบเห็น

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.

วิธีแก้ไข

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.

คำอธิบาย

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.

ความแตกต่างหลัก

1.

DNS 1: Format error. The name server was unable to interpret the query due to a malformed DNS message.

2.

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.

3.

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.

4.

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 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.

เรียนรู้เพิ่มเติม