Settings that have no effect are removed (DoH listener and Backup paths) #27
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#27
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
DnsOverHttpsOptionsport andCertificate*settings driveDnsOverHttpsHostedService,which
Ninlil.Webnever starts; DoH is served by the web listener (ENVIRONMENT.md:222,225-229).The transport settings API already leaves them out (
Models/TransportSettingsModels.cs:94-103).DataProtectionKeyRingDirectoryandRuntimeConfigurationFilePath(
src/dotnet/src/Ninlil.Dns.Server.Backup/Options/BackupOptions.cs:26,43) are overwritten byPostConfigure(src/dotnet/src/Ninlil.Web/Program.cs:425-429);ENVIRONMENT.md:473,475sayschanging them has no effect. No API model exposes them.
What changes
DnsOverHttpsHostedServicestays, because the DoH test project andsrc/dotnet/benchmarks/Ninlil.Benchmarks/Transport/DohTransportBenchmarks.csstart it and thelibrary is a NuGet package. Move its listener-only settings (port, listen addresses if any,
certificate) out of
DnsOverHttpsOptionsinto a new options class used only by the hostedservice, which
Ninlil.Webneither binds nor lists inOptionsEnvironmentVariableRegistry.So the variables disappear while a library consumer can still start the listener. HTTP/3 for
DoH (#250) goes on the web listener, not here.
Program.cssets (for example a separate settings object registered as a singleton, orproperties the environment-variable map skips; say which and why).
ENVIRONMENT.md: remove the rows and recount the totals withOptionsEnvironmentVariableMap.BuildMappings(AGENTS.md "Configuration").CHANGELOG.mdUnreleased: list the removed variables. A configuration file that still setsthem is ignored by the binder, so nothing breaks.
OpenApiSnapshotTestsfails: then handthe snapshot to
api-regenin the same PR.Acceptance
dotnet test src/dotnet/tests/Ninlil.Dns.Protocol.DnsOverHttps.Tests,src/dotnet/tests/Ninlil.Dns.Server.Backup.Testsandsrc/dotnet/tests/Ninlil.Web.Testspass.DohTransportBenchmarksstill compiles).Source
d-design.md:1089(Backup dead settings),d-design.md:1276,1295,1297,1305(DoH dead options).Owner decision 2026-10-31 (Q-REL-4): "remove both DoH listener and Backup path settings".
Ghost referenced this issue2026-11-05 06:47:55 -05:00