Dynamic updates follow the zone's security mode: HMAC TSIG, GSS-TSIG with name ownership, or unsigned from listed networks for unowned names #82
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 milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#84 Dynamic updates refresh record timestamps and a scavenging pass removes records not refreshed in time
lantea-one/ninlil
Reference
lantea-one/ninlil#82
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
Today every unsigned update is refused (
DynamicUpdateQueryResolver.cs:126-132). That REFUSED is the signal that makes a Windows client retry with GSS-TSIG, so it must stay the default.What changes
In
DynamicUpdateQueryResolver.cs:GssUpdateEnabledis set andPrincipalmatches one of the zone'sGssUpdatePrincipalspatterns (a principal matching none is REFUSED):UnsignedUpdateNetworks: it may create names and change or delete names that have no owner row. If any name the update touches has an owner, the whole update is REFUSED, so a machine that registered securely cannot be hijacked by a neighbour. Unsigned updates never create owner rows.IZoneUpdateService.ZoneModels.csandZonesController.csexpose the four new zone fields, with Swashbuckle examples. The REST API changes; regeneration is #86.Acceptance
Tests in
src/dotnet/tests/Ninlil.Dns.Server.Authoritative.Tests, with a fake GSS context:host1; principal B's update tohost1gets REFUSED; principal A's second update succeeds.host1.host2(no owner row). From another network it is REFUSED.host1(owned by principal A) is REFUSED and changes nothing.src/dotnet/tests/Ninlil.Web.Testspasses for the zone fields.Source