The locally-served zone list is one shared catalog used by DNSSEC and by the hygiene checks #135

Open
opened 2026-10-31 12:42:13 -04:00 by claude · 0 comments
Owner
  • Draft: PQ-29
  • Priority: medium
  • Agent: coder
  • Depends on: #35
  • Decisions: none

Why

The list is built inside RecursiveServerOptions.BuildBuiltInInsecureDomains (RecursiveServerOptions.cs:88-121), where the forwarding resolver cannot use it. #35 adds resolver.arpa and service.arpa to it first.

What changes

  • Move the zone list to Ninlil.Dns.Common as LocallyServedZoneCatalog. It exposes:
    • the reverse zones: RFC 6303 §4 plus RFC 7793;
    • the special-use names, kept separate because they are names, not reverse zones: home.arpa (RFC 8375), internal, resolver.arpa (RFC 9462) and service.arpa (RFC 9665);
    • CoversReverseZone(DnsName) and IsSpecialUseName(DnsName) lookups.
  • RecursiveServerOptions.BuiltInInsecureDomains reads the union from it, with no behaviour change (both #35 names stay Insecure).
  • Keep the RFC references in comments.

Acceptance

  • Existing src/dotnet/tests/Ninlil.Dns.Server.Recursive.Tests pass unchanged, including #35's tests.
  • New test: CoversReverseZone("5.1.168.192.in-addr.arpa") is true, CoversReverseZone("8.8.8.8.in-addr.arpa") is false, and CoversReverseZone("resolver.arpa") is false while IsSpecialUseName("resolver.arpa") is true.
  • Whole solution passes (shared library). No schema, API or option change.

Source

  • RFC 6303 §4; RFC 7793; RFC 8375; RFC 9462; RFC 9665.
  • DEDUPE.md A2 (#35 names kept as names).
- **Draft:** PQ-29 - **Priority:** medium - **Agent:** coder - **Depends on:** #35 - **Decisions:** none ### Why The list is built inside `RecursiveServerOptions.BuildBuiltInInsecureDomains` (`RecursiveServerOptions.cs:88-121`), where the forwarding resolver cannot use it. #35 adds `resolver.arpa` and `service.arpa` to it first. ### What changes - Move the zone list to `Ninlil.Dns.Common` as `LocallyServedZoneCatalog`. It exposes: - the reverse zones: RFC 6303 §4 plus RFC 7793; - the special-use names, kept separate because they are names, not reverse zones: `home.arpa` (RFC 8375), `internal`, `resolver.arpa` (RFC 9462) and `service.arpa` (RFC 9665); - `CoversReverseZone(DnsName)` and `IsSpecialUseName(DnsName)` lookups. - `RecursiveServerOptions.BuiltInInsecureDomains` reads the union from it, with no behaviour change (both #35 names stay Insecure). - Keep the RFC references in comments. ### Acceptance - [ ] Existing `src/dotnet/tests/Ninlil.Dns.Server.Recursive.Tests` pass unchanged, including #35's tests. - [ ] New test: `CoversReverseZone("5.1.168.192.in-addr.arpa")` is true, `CoversReverseZone("8.8.8.8.in-addr.arpa")` is false, and `CoversReverseZone("resolver.arpa")` is false while `IsSpecialUseName("resolver.arpa")` is true. - [ ] Whole solution passes (shared library). No schema, API or option change. ### Source - RFC 6303 §4; RFC 7793; RFC 8375; RFC 9462; RFC 9665. - DEDUPE.md A2 (#35 names kept as names).
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.

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