---
title: "RFC 8914 Extended DNS Errors: Why Comment Is Not a Verdict"
description: "DoH Comment fields such as EDE(22) explain a SERVFAIL. They must not rewrite RCODEs, invent undeliverable, or become a second DNS taxonomy in your signup form."
slug: "rfc-8914-extended-dns-errors-email-validation"
date: 2026-12-03
updated: 2026-12-03
last_tested: 2026-12-03
summary: "Extended DNS Errors annotate why a lookup failed. Email validation still branches on RCODE: NXDOMAIN rejects, SERVFAIL fails open as unknown with checked.mx false."
cluster: "DNS and RFCs"
intent: engineering
sources:
  - title: "RFC 8914 — Extended DNS Errors"
    url: "https://www.rfc-editor.org/rfc/rfc8914.html"
  - title: "RFC 1035 — DNS response codes (RCODE)"
    url: "https://www.rfc-editor.org/rfc/rfc1035.html#section-4.1.1"
  - title: "IANA Extended DNS Error Codes registry"
    url: "https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#extended-dns-error-codes"
  - title: "Cloudflare DNS over HTTPS JSON API"
    url: "https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/make-api-requests/dns-json/"
  - title: "nobounce.dev verdict taxonomy and fixture list"
    url: "https://nobounce.dev/v1/config"
  - title: "nobounce.dev agent reference"
    url: "https://nobounce.dev/llms.txt"
---

A DNS-over-HTTPS answer can carry more than `Status`. Cloudflare's JSON API exposes a `Comment` array for Extended DNS Error (EDE) messages defined in RFC 8914. Those comments are useful for operators. They are not a second RCODE, and they are not a signup verdict.

Measured live against Cloudflare DoH on 2026-12-03, `gmial.com` MX returns:

```json
{
  "Status": 2,
  "Comment": ["EDE(22): No Reachable Authority at delegation gmial.com."]
}
```

Status 2 is SERVFAIL. EDE code 22 is "No Reachable Authority": the resolver could not reach a usable authority for that name. The annotation explains the failure. It does not turn the failure into NXDOMAIN, and it does not prove the mailbox is gone.

The RCODE split itself is covered in [SERVFAIL Is Not NXDOMAIN](https://nobounce.dev/blog/servfail-vs-nxdomain-email-validation/). This page is about the temptation that arrives after you notice `Comment`: treating the EDE string as authority for a harder reject.

## What RFC 8914 actually adds

RFC 8914 was created primarily to extend SERVFAIL with a cause. The EDE EDNS0 option carries an INFO-CODE and optional EXTRA-TEXT. Cloudflare surfaces those messages in DoH JSON as `Comment`. The IANA registry lists the codes: DNSSEC Bogus (6), Cached Error (13), Blocked (15), Censored (16), Filtered (17), Prohibited (18), No Reachable Authority (22), Network Error (23), and others.

Two rules in the RFC matter more than any individual code:

1. **EDE does not change RCODE processing.** Applications must continue to follow the RCODE specifications no matter which EDE values accompany the answer.
2. **EDE is diagnostic, not protocol state.** Interpreters must not assume every combination makes sense, and EDE content must not alter DNS protocol processing.

In other words: Status 2 with `EDE(22)` is still Status 2. Status 3 with no Comment is still Status 3. A pretty string in `Comment` does not upgrade or downgrade the answer.

## Why email validators overfit EDE

Signup code that has just learned the SERVFAIL/NXDOMAIN split often grows a third branch:

```js
// Wrong. EDE annotates Status; it does not replace it.
if (answer.Status === 2 && /No Reachable Authority/i.test(String(answer.Comment))) {
  return { verdict: "undeliverable", reason: "domain_not_found" };
}
```

That branch reintroduces the classic bug with better documentation. "No reachable authority" is a resolver path failure. It is common on broken delegations, lame nameservers, and transient reachability problems. It is not the authoritative statement "this name does not exist". NXDOMAIN is that statement, and it arrives as Status 3 — as `outlook.con` does.

The damage is asymmetric. During a resolver incident, many real domains can produce SERVFAIL and an EDE annotation. Mapping those comments to `undeliverable` rejects good customers and labels the outage as bad traffic. Mapping them to `deliverable` is worse in the other direction: you claim MX proof you never earned. The only honest product answer is "we do not know".

## What nobounce does with Comment

nobounce classifies DoH MX answers on `Status` and record shape. Non-NXDOMAIN failures become `dns_error`. The public contract is fixed by `/v1/config`:

| DNS result | verdict | reason | `checked.mx` |
|---|---|---|---|
| NXDOMAIN (Status 3) | `undeliverable` | `domain_not_found` | `true` |
| SERVFAIL / other non-NOERROR (Status 2, …) | `unknown` | `dns_error` | `false` |
| transport / malformed DoH body | `unknown` | `dns_error` | `false` |

`Comment` may explain the SERVFAIL in logs. It does not mint a new reason code, and it does not flip `checked.mx` to `true`. The fixture for the live `gmial.com` shape:

```bash
curl -X POST https://nobounce.dev/demo/check \
  -H 'Content-Type: application/json' \
  -d '{"email":"user@gmial.com"}'
```

```json
{
  "verdict": "unknown",
  "reason": "dns_error",
  "suggestion": "user@gmail.com",
  "confidence": 0.3,
  "checked": { "syntax": true, "mx": false, "typo": true, "disposable": true },
  "cached": false
}
```

`/demo/check` is fixture-only. It resolves the frozen corpus from `GET https://nobounce.dev/v1/config` and cannot validate arbitrary live addresses. Use it to pin shapes; use `POST /v1/check` with a paid key for production DNS.

Two details in that object are load-bearing. `checked.mx: false` is the fail-open marker: syntax and typo ran, MX did not complete. `suggestion` can still be present because typo correction runs before DNS — a resolver outage costs you the MX verdict, not the correction. The DoH JSON shapes around these lookups are in [MX Lookups over DNS-over-HTTPS](https://nobounce.dev/blog/mx-lookups-over-dns-over-https/).

## Codes that look decisive and still are not

Some EDE values sound like policy decisions: Blocked, Censored, Filtered, Prohibited, DNSSEC Bogus. For a recursive resolver they describe why *this resolver* returned an error. They are not a portable proof that every resolver, or the authoritative zone, agrees the name is absent or refuses mail.

Cached Error (13) is the operational cousin of the caching rule already required for SERVFAIL: a failure replayed from cache is still a failure, not a negative answer you may treat like NXDOMAIN. nobounce never writes a domain-cache row for `dns_error`, so a brief Comment-bearing SERVFAIL cannot pin a reject for the positive or negative TTL window. Successful domain verdicts cache for six hours positive and one hour negative, shared across customers; failures cache for zero seconds.

Null MX and empty MX remain separate NOERROR stories. A published `0 .` is an explicit refusal; an empty MX forces the RFC 5321 A/AAAA fallback before `no_mx_no_a`. Neither case is rescued or condemned by an EDE on a different Status. See [RFC 5321 Implicit MX](https://nobounce.dev/blog/rfc-5321-implicit-mx-a-aaaa-fallback/) for the fallback rule.

## The caller branch stays small

Keep the product taxonomy small even when the resolver is chatty:

```js
const result = await check(email);

if (result.verdict === "undeliverable" && result.suggestion) {
  return offerCorrection(result.suggestion);
}
if (result.verdict === "undeliverable") {
  return rejectWithReason(result.reason);
}
// unknown means DNS did not complete. Proceed, and persist checked.mx.
return acceptSignup({
  emailVerdict: result.verdict,
  mxChecked: result.checked.mx,
});
```

Do not parse `Comment` in the signup path. If you retain EDE text at all, keep it in operator logs beside the request id. The frozen reasons an integration may branch on are only the enum at `/v1/config`: `ok`, `syntax_invalid`, `domain_not_found`, `null_mx`, `no_mx_no_a`, `typosquat_mx`, `likely_typo`, `disposable`, `role_account`, `dns_error`, `reserved_domain`.

Production checks need a paid key — hobby starts at $1/mo for 1,000 live checks — with the key in an `Authorization` header, never in the URL:

```bash
curl -X POST https://nobounce.dev/v1/check \
  -H "Authorization: Bearer $NOBOUNCE_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"email":"user@gmial.com"}'
```

For the full fail-open contract, timeout handling and verdict mapping, give your agent [nobounce.dev/integrate.md](https://nobounce.dev/integrate.md).
