Ninlil serves Active Directory and Samba AD domains with secure dynamic updates, aging and scavenging #77

Open
opened 2026-10-31 12:42:02 -04:00 by claude · 0 comments
Owner
  • Draft: INT-8
  • Priority: high (owner: right after ValKey, 2026-10-09)
  • Agent: none (epic)
  • Depends on: none (ordered after #69 by the owner)
  • Decisions: Q-INT-1, Q-INT-2, Q-INT-6, Q-INT-7

Why

Today Ninlil can forward the AD domain to the DCs, and it accepts RFC 2136 updates only when TSIG-signed with a key bound to the zone (src/dotnet/src/Ninlil.Dns.Server.Authoritative/Update/DynamicUpdateQueryResolver.cs:126-142). Missing:

  • GSS-TSIG (RFC 3645) with TKEY negotiation (RFC 2930). The TKEY type value exists (src/dotnet/src/Ninlil.Dns.Common/Enum/DnsResourceRecordTypeEnum.cs:304), but there is no codec, and TsigAlgorithm is HMAC-only (src/dotnet/src/Ninlil.Dns.Server.Tsig/TsigAlgorithm.cs:21-27).
  • Unsigned updates allowed from listed networks.
  • Per-name ownership.
  • An AD zone template.
  • Aging and scavenging. Records carry no timestamp (src/dotnet/src/Ninlil.Dns.Data.Abstractions/Entity/RecordEntity.cs:19-79).
  • Docs for Windows DCs and Samba.

Clean-room sources: RFC 2136, RFC 2930, RFC 3645, RFC 2782, RFC 8945 and Microsoft's public specifications (MS-DNSP) and public documentation. No other project's code.

What changes

Children, in order:

  • Protocol: #78 TKEY codec, #79 GSS spike and Kerberos test fixture, #80 GSS-TSIG and TKEY negotiation.
  • Storage: #81 update-security storage, #83 aging storage.
  • Backend: #82 update authorization, #84 aging and scavenging, #85 AD zone template.
  • #86: API regeneration.
  • #87: console.
  • #88: packaging.
  • #89: docs.

Acceptance

  • All children closed.
  • A Windows client on lofnheim registers its A record through GSS-TSIG.
  • samba_dnsupdate registers a Samba DC's records.

Source

  • Owner decision 2026-10-09 (memory project_first_release_plan.md); owner scope in the INT area brief.
  • Owner decisions 2026-10-31: Q-INT-1 "unowned names only"; Q-INT-2 "pattern list per zone"; Q-INT-6 "off by default; 7 d + 7 d when on; on for AD-template zones"; Q-INT-7 "zones + optional SRV set".
- **Draft:** INT-8 - **Priority:** high (owner: right after ValKey, 2026-10-09) - **Agent:** none (epic) - **Depends on:** none (ordered after #69 by the owner) - **Decisions:** Q-INT-1, Q-INT-2, Q-INT-6, Q-INT-7 ### Why Today Ninlil can forward the AD domain to the DCs, and it accepts RFC 2136 updates only when TSIG-signed with a key bound to the zone (`src/dotnet/src/Ninlil.Dns.Server.Authoritative/Update/DynamicUpdateQueryResolver.cs:126-142`). Missing: - GSS-TSIG (RFC 3645) with TKEY negotiation (RFC 2930). The TKEY type value exists (`src/dotnet/src/Ninlil.Dns.Common/Enum/DnsResourceRecordTypeEnum.cs:304`), but there is no codec, and `TsigAlgorithm` is HMAC-only (`src/dotnet/src/Ninlil.Dns.Server.Tsig/TsigAlgorithm.cs:21-27`). - Unsigned updates allowed from listed networks. - Per-name ownership. - An AD zone template. - Aging and scavenging. Records carry no timestamp (`src/dotnet/src/Ninlil.Dns.Data.Abstractions/Entity/RecordEntity.cs:19-79`). - Docs for Windows DCs and Samba. Clean-room sources: RFC 2136, RFC 2930, RFC 3645, RFC 2782, RFC 8945 and Microsoft's public specifications (MS-DNSP) and public documentation. No other project's code. ### What changes Children, in order: - Protocol: #78 TKEY codec, #79 GSS spike and Kerberos test fixture, #80 GSS-TSIG and TKEY negotiation. - Storage: #81 update-security storage, #83 aging storage. - Backend: #82 update authorization, #84 aging and scavenging, #85 AD zone template. - #86: API regeneration. - #87: console. - #88: packaging. - #89: docs. ### Acceptance - [ ] All children closed. - [ ] A Windows client on lofnheim registers its A record through GSS-TSIG. - [ ] `samba_dnsupdate` registers a Samba DC's records. ### Source - Owner decision 2026-10-09 (memory `project_first_release_plan.md`); owner scope in the INT area brief. - Owner decisions 2026-10-31: Q-INT-1 "unowned names only"; Q-INT-2 "pattern list per zone"; Q-INT-6 "off by default; 7 d + 7 d when on; on for AD-template zones"; Q-INT-7 "zones + optional SRV set".
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#77
No description provided.