The records API refuses a record name that is not the zone or below it #25
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#25
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?
wwwin zoneexample.testis stored and never answered, silently)Why
RP-5 made
@mean the zone apex. A name without the zone suffix, such aswww, is stored aswritten and never answered (
README.md:893-896says so). The API accepts it without a warning.RFC 1035 §5.1 makes names in a master file relative to the origin unless they end with a dot, but
the API's names are full names without a trailing dot, so
www.example.testandwwwlook alike.What changes
src/dotnet/src/Ninlil.Web/Controllers/RecordsController.cscreate, PUT and PATCH (where RP-5resolves
@): after@is resolved, a name that is neither the zone name nor below it(label-wise, case-insensitive, RFC 4343) is refused with 400. The message names the zone and
suggests the full name, for example "'www' is not in zone 'example.test'; did you mean
'www.example.test'?".
import paths in
RecordsControllerand any sibling controller; grep for the@resolution).src/angular/src/app/features/zones/). If it cansend a short name, file a
console-coderfollow-up that appends the zone; do not change theconsole here.
RecordWriteRequest.Namestates the rule; the snapshot changes in #26.Acceptance
example.test,wwwgives 400 with the suggestion,www.example.test,@andexample.testare stored,www.other.testgives 400;WWW.Example.Testis accepted.OpenApiSnapshotTests, which #26 fixes in the same PR.Source
release-prep.md:162,177(RP-5 claims table, "Relative names ... Unchanged; README says so").Owner decision 2026-10-31 (Q-REL-3): "refuse with 400".
Ghost referenced this issue2026-11-05 00:03:06 -05:00
Ghost referenced this issue2026-11-05 00:17:12 -05:00
Ghost referenced this issue2026-11-05 00:28:32 -05:00