The operator can clamp cache TTLs and keep the forwarding cache across a restart #238
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.
Depends on
Reference
lantea-one/ninlil#238
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 forwarding cache now exists (
ForwardingOptions.EnableCache/MaxCacheEntries,src/dotnet/src/Ninlil.Dns.Server.Forwarding/ForwardingOptions.cs:59,68). There is no minimum or maximum TTL override, and no persistence. #75 adds a ValKey second level to the same cache first.What changes
MinimumCacheTimeToLive/MaximumCacheTimeToLiveinForwardingOptionsandRecursiveServerOptions, applied when an entry is stored (Caching/ForwardedResponseCache.cs,Ninlil.Dns.Server.Recursive/Caching/RecursiveCache.cs). The clamp applies before a value is written to the shared ValKey store (#75), so every node reads the clamped lifetime. Clamping lowers TTL compliance (RFC 1035 §3.2.1, RFC 2181 §8), so the docs say so.Acceptance
Store_WithAMinimumTtl_RaisesAShortTtl.dotnet test src/dotnet/tests/Ninlil.Dns.Server.Forwarding.Tests,dotnet test src/dotnet/tests/Ninlil.Dns.Server.Recursive.Tests.Source
audit-feature-parity.md§2B #20; DEDUPE.md P5.