DNS

DNS 0 NOERROR vs 10 NOTZONE

Both DNS 0 (NOERROR) and 10 (NOTZONE) belong to the DNS Response Codes (RCODEs) category. 0 indicates that no error condition. The query completed successfully and the response contains the requested data. 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.

Description

No error condition. The query completed successfully and the response contains the requested data.

When You See It

This is the normal, successful response to any DNS query — the name was resolved and the answer section contains the requested records.

How to Fix

No fix needed. RCODE 0 means the DNS lookup succeeded as expected.

Description

Name not contained in zone. A name used in the Prerequisite or Update section is not within the zone denoted by the Zone section.

When You See It

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

How to Fix

Ensure all names in the update are within the target zone. Check for typos in the zone name or the records being updated.

Key Differences

1.

DNS 0: No error condition. The query completed successfully and the response contains the requested data.

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 0 when this is the normal, successful response to any DNS query — the name was resolved and the answer section contains the requested records.

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

When to Use Which

For 0 (NOERROR): No fix needed. RCODE 0 means the DNS lookup succeeded as expected. 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.

Learn More