Epic: each DHCP scope chooses what happens when a client's host name is already taken in DNS #186
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.
Dependencies
No dependencies set
Reference
lantea-one/ninlil#186
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
DhcpDnsRegistrationServicerefuses a client's host name when the name holds a record DHCP does not manage, or another client's active lease holds it, and logs a Warning on every renewal (src/dotnet/src/Ninlil.Dhcp.Server.DnsIntegration/DhcpDnsRegistrationService.cs:24-27,164-217,245-267). The client then has no name in DNS. The owner chose D9 a (refuse and log) on 2026-10-02 and now asks for a per-scope policy.What changes
Children, in order:
Policies:
Refuse(the default, value 0): today's behaviour, unchanged for every existing scope.AppendSuffix: when the name is taken, register<label>-<suffix>instead. The suffix is the first six hex digits of the SHA-256 of the lease's client identifier (owner decision R2-SUFFIX), so it is stable across renewals and differs per client. The label is shortened so the result stays within 63 octets (RFC 1035 §2.3.4). If the suffixed name is also taken, refuse and log as today.Static records always win: no policy replaces or shadows a record DHCP does not manage. Further policies (for example "the newest lease takes the name") can be added later as new enum values. The bare-name source #137 answers from whatever name this service registered.
Acceptance
Source
D9 (owner 2026-10-02: a, with c deferred);
DhcpDnsRegistrationService.cs.Owner decision 2026-10-31 (Q-BUG-11): "per-scope policy setting (schema + API + UI)".
Owner decision 2026-10-31, round 2 (R2-SUFFIX): "6 hex digits of SHA-256 of the client id".