POST api/filtering-settings/pause stops filter-list blocking on this node until a time, and resume ends it #131
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
Reference
lantea-one/ninlil#131
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
See #130.
What changes
DnsFilterOptions.PausedUntilUtc, written throughPresetConfigurationFileApplierlike the other filtering fields (FilteringSettingsController.cs:179-184). It survives a restart and applies live throughIOptionsMonitor. It is node-local: filtering settings are not cluster-synced, and this issue does not change that.DnsFilterEngine: whilenow < PausedUntilUtc, the domain check (EvaluateDomainAsync,DnsFilterEngine.cs:122) and the response check (CNAME targets and response addresses,:220) behave as if filtering were off. That covers every domain, CNAME and response-address list, blocked services included. Out of scope, so they keep working during a pause: client-source lists (EvaluateClientAsync,:101), client and group pauses and schedules, rewrites and Safe Search.FilteringSettingsController:POST pausewith{ durationMinutes }(positive, at most 1440). A new pause replaces the old one, like the client pause.POST resume.GETreturnspausedUntilUtc.filteringsettings:write.Acceptance
src/dotnet/tests/Ninlil.Dns.Server.Filtering.Tests. WithPausedUntilUtc = now + 5 min, a blocked domain evaluates Allowed. Withnow − 1 s, it is Denied again.src/dotnet/tests/Ninlil.Web.Tests: pause returnspausedUntilUtc; resume clears it;durationMinutes = 0gives 400.Source
audit-feature-parity.md§2A #13.