Upstream answers that point public names at private addresses lose those records when rebind protection is on (off by default) #139
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
Reference
lantea-one/ninlil#139
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 public name that resolves to a LAN address lets a web page reach LAN devices from the browser.
What changes
DnsHygieneOptions:RebindProtection(bool, default false: it breaks services that publish private addresses in public DNS, so it is opt-in)RebindProtectionExemptDomains(list, so no environment variable; documented as such)fc00::/7, CGNAT100.64.0.0/10,0.0.0.0/8and IPv4-mapped forms. They are held in one table inNinlil.Dns.Server.Core/Hygiene/.LocalNetworkGuardchecks A and AAAA records in the answer from both upstream resolvers, after the cache. That way a settings change applies at once, and cached entries stay intact.Rebindblock kind (extend the enum).Acceptance
src/dotnet/tests/Ninlil.Dns.Server.Forwarding.Tests: with the option on, the fake upstream answersevil.example A 192.168.1.10andA 93.184.215.14; the client gets only the public record. With only the private record, the client gets NODATA.ok.example A 93.184.215.14passes unchanged; an exempt domain passes; with the option at its default (off) the private record passes.Source
audit-feature-parity.md§2A #9.