Home-network DNS hygiene: private reverse lookups answered locally (RFC 6303), bare names answered from local sources and kept off upstreams, and DNS-rebind protection #134
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#134
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
src/dotnet/src/Ninlil.Dns.Server.Recursive/RecursiveServerOptions.cs:41-121). Nothing answers those zones locally, so PTR lookups for RFC 1918 addresses go to forwarders or the root.src/finds no domain-needed, private-reverse or rebind logic.<label>.<zone>in the scope's DNS zone (src/dotnet/src/Ninlil.Dhcp.Server.DnsIntegration/DhcpDnsRegistrationService.cs:154-161), but a barenasquery does not find it.Bare-name lookup order (owner, round 2, R2-BARE), for a single-label query that reaches an upstream resolver:
<name>.<local domain>in Ninlil's own authoritative zones (#138);Technical call: the checks live in the two resolvers that talk to upstreams,
ForwarderQueryResolverandRecursiveQueryResolver, not in a new resolver ahead of them.AuthoritativeQueryResolver(DnsQueryDispatcher.cs:15-17).AuthoritativeQueryResolver.cs:75-79).168.192.in-addr.arpa, or a hosted reverse zone, keeps working, and only names bound for a public upstream are affected.ForwarderSetCache.cs:13-20).What changes
Children: #135 (shared zone catalog), #136 (private reverse plus the single-label source chain), #137 (DHCP host names), #138 (local domain), #139 (rebind), #140 (settings API), #141 (api-regen), #142 (console). The hosts-file source is #175 in the "Parity: devices, DHCP and notifications" milestone; it plugs into the #136 chain.
Acceptance
Source
audit-feature-parity.md§2A #9 (gap 10); RFC 6303 §3–§4; RFC 6761; RFC 8375.