Blocked queries can be answered REFUSED or NODATA, carry an RFC 8914 Extended DNS Error, and negative block answers can be cached #125

Open
opened 2026-10-31 12:42:11 -04:00 by claude · 0 comments
Owner
  • Draft: PQ-19
  • Priority: medium (small change that removes a common parity objection)
  • Agent: none (epic)
  • Depends on: none
  • Decisions: Q-PQ-6

Why

  • DnsFilterBlockResponseModeEnum has only NxDomain and SinkholeAddress (src/dotnet/src/Ninlil.Dns.Common/Enum/DnsFilterBlockResponseModeEnum.cs:13-27).
  • EdnsOptionCodeEnum.ExtendedDnsError = 15 exists (src/dotnet/src/Ninlil.Dns.Common/Enum/EdnsOptionCodeEnum.cs:106), but nothing emits it.
  • BuildDeniedResponse (src/dotnet/src/Ninlil.Dns.Server.Filtering/DnsFilterEngine.cs:392-436) returns NXDOMAIN with no SOA. Without an SOA, the answer is not negatively cached (RFC 2308 §5).
  • In sinkhole mode, a blocked non-address query (HTTPS, MX, TXT) gets NXDOMAIN while A gets data. Under RFC 8020 §2, NXDOMAIN says the name does not exist, which contradicts the A answer.

What changes

Children: #126 (EDE codec), #127 (modes plus EDE), #128 (api-regen), #129 (console).

Acceptance

  • Children closed.

Source

  • audit-feature-parity.md §2A #7 (gap 8).
  • b8-design.md:221 routes EDE for DNSSEC SERVFAILs post-release. That belongs to the DNSSEC area; it reuses #126.
  • Owner decision 2026-10-31 (Q-PQ-6): "Blocked (15), no text".
- **Draft:** PQ-19 - **Priority:** medium (small change that removes a common parity objection) - **Agent:** none (epic) - **Depends on:** none - **Decisions:** Q-PQ-6 ### Why - `DnsFilterBlockResponseModeEnum` has only `NxDomain` and `SinkholeAddress` (`src/dotnet/src/Ninlil.Dns.Common/Enum/DnsFilterBlockResponseModeEnum.cs:13-27`). - `EdnsOptionCodeEnum.ExtendedDnsError = 15` exists (`src/dotnet/src/Ninlil.Dns.Common/Enum/EdnsOptionCodeEnum.cs:106`), but nothing emits it. - `BuildDeniedResponse` (`src/dotnet/src/Ninlil.Dns.Server.Filtering/DnsFilterEngine.cs:392-436`) returns NXDOMAIN with no SOA. Without an SOA, the answer is not negatively cached (RFC 2308 §5). - In sinkhole mode, a blocked non-address query (HTTPS, MX, TXT) gets NXDOMAIN while A gets data. Under RFC 8020 §2, NXDOMAIN says the name does not exist, which contradicts the A answer. ### What changes Children: #126 (EDE codec), #127 (modes plus EDE), #128 (api-regen), #129 (console). ### Acceptance - [ ] Children closed. ### Source - `audit-feature-parity.md` §2A #7 (gap 8). - b8-design.md:221 routes EDE for DNSSEC SERVFAILs post-release. That belongs to the DNSSEC area; it reuses #126. - Owner decision 2026-10-31 (Q-PQ-6): "Blocked (15), no text".
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lantea-one/ninlil#125
No description provided.