A known-clients-only scope offers addresses only to clients with a reservation in the scope or an entry in the client registry #168
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
lantea-one/ninlil#168
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
A scope that serves only known devices keeps strangers off a network; the owner defined "known" as a reservation or a registry entry.
What changes
IDhcpKnownClientPolicyinsrc/dotnet/src/Ninlil.Dhcp.Server.Core/Allocation/. A client is known when either holds:DhcpReservationEntityin this scope, orIDnsClientAddressRepository.GetByIdentifierAsync(src/dotnet/src/Ninlil.Dns.Data.Abstractions/Repository/IDnsClientAddressRepository.cs:26-30), keyed the wayDhcpClientRegistryAutoPopulationServicekeys it (the MAC for DHCPv4; the DUID or aDhcpClientIdentifierLinkKeyskey for DHCPv6,DhcpClientRegistryAutoPopulationService.cs:29-39).Ninlil.Dhcp.Server.Corealready referencesNinlil.Dns.Data.Abstractions(Ninlil.Dhcp.Server.Core.csproj:64).Origin = DiscoveredandIsAcknowledged = false(#144) does not count (owner decision R2-PN24). Otherwise passive discovery (on by default, Q-PN-1) would make every device seen on the LAN known and the switch would do nothing. Acknowledging a discovered device is how an operator makes it known. Rows created by DHCP auto-population (Origin = Dhcp) count.Dhcpv4LeaseAllocationService(entry near line 110) andDhcpv6LeaseAllocationService: whenKnownClientsOnlyis set and the policy says unknown, allocate nothing.DhcpScopesControlleraccepts the flag. README.md DHCP section explains what "known" means, including the acknowledge step.Acceptance
Allocate_InAKnownOnlyScopeForAnUnknownClient_ReturnsNoLeaseinsrc/dotnet/tests/Ninlil.Dhcp.Server.Core.Tests.dotnet test src/dotnet/tests/Ninlil.Dhcp.Server.Core.Tests,dotnet test src/dotnet/tests/Ninlil.Web.Tests.Source
audit-feature-parity.md§2A #14.Owner decision 2026-10-31: "known client: either a reservation in the scope OR in the client registry" (Q-PN-10).
Owner decision 2026-10-31, round 2 (R2-PN24): "unacknowledged discovered devices are not known".