An A-only rewrite answers AAAA for that name with NODATA, not NXDOMAIN #37
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#37
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 rewrite of one type answers other types by normal resolution. When the name exists only
through an A rewrite, AAAA gets NXDOMAIN, which tells the client the name does not exist at all.
RFC 2308 §2.2 defines NODATA for "the name exists, no data of this type". The README documents
the current behaviour.
What changes
src/dotnet/src/Ninlil.Dns.Server.Rewrites: when a rewrite exists for the query name and nonefor the query type, and normal resolution answers NXDOMAIN, the reply becomes NOERROR with an
empty answer section. A positive answer from normal resolution (the real name has AAAA data) is
returned as today. The negative answer's SOA and TTL follow RFC 2308 §3 where the server has
one to give; say in the PR what the rewrite branch can supply. README rewrite guide line updated.
Acceptance
x.test, upstream NXDOMAIN: an AAAA query getsNOERROR with an empty answer section.
x.test: the AAAA answer passes unchanged.Source
d-design.md:1280,1297.Owner decision 2026-10-31 (Q-REL-9): "NODATA".
Ghost referenced this issue2026-11-05 08:48:10 -05:00