Adding or removing a key in a child zone updates the DS set of a parent zone hosted on the same server #306
No reviewers
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.
Dependencies
No dependencies set
Reference
lantea-one/ninlil!306
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/48-parent-ds-on-child-key-change"
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?
A key change in a child zone now updates the DS set of a parent zone hosted on the same server at once, instead of at the parent's next signing (up to about 25 days).
How:
SignedZoneCachecompares the zone's name and a fingerprint of its DS-generating keys (Active KSKs with a permitted algorithm; one rule,DelegationDsKeys, shared with the DS generator inZoneSigningService). When it changed, it re-signs the closest locally hosted parent (LocalParentLocator, extracted from the rollover service).Known, unchanged gaps: on a cluster peer sharing the database, a key-only change is picked up only when that peer reloads the child (scheduled re-sign, restart or another change); algorithm-policy changes and backup restore do not trigger a parent re-sign by themselves.
Tests:
ParentDsFollowsChildKeyChangeTests(10, real SQLite host; red first for create, remove, remove-last, unsign, serial, rename and retry; delete and grandchild are guards). Authoritative.Tests 670, Dnssec.Tests 129, Web.Tests 2081 (without Docker), rollover tests 11, new class stable over 5 runs. Build 0 warnings. Reviewed three times by the verifier.Closes #48
🤖 Generated with Claude Code
https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK