The REST API imports a master file into a zone, creates a zone from one, and exports a zone as a master file #183
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 project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#180 Ninlil reads RFC 1035 master files into records, with generic RDATA for any type
lantea-one/ninlil
#182 Ninlil writes a zone as an RFC 1035 master file
lantea-one/ninlil
Reference
lantea-one/ninlil#183
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
Operators move zones in and out through the API and the console.
What changes
ZoneFileImportServiceinsrc/dotnet/src/Ninlil.Dns.Server.Authoritative/: text → wire →RecordEntityCodec.FromWireRecord, in one unit of work. Modes:Replace(the zone's records become the file's) andMerge(adds records the zone lacks, never deletes); both takedryRun, which reports added, removed and unchanged counts and writes nothing.ZonesController:GET api/zones/{id}/export(zones:read, media typetext/dnsper RFC 4027)POST api/zones/{id}/import(zones:write,mode,dryRun, size cap)POST api/zones/import(zones:write) creates a primary zone from a file whose origin comes from$ORIGINor a parameter; 409 when the zone exists;dryRunsupported.Acceptance
Import_WithDryRun_ReportsRecordCountsAndWritesNothinginsrc/dotnet/tests/Ninlil.Web.Tests.dotnet test src/dotnet/tests/Ninlil.Dns.Server.Authoritative.Tests,dotnet test src/dotnet/tests/Ninlil.Web.Tests.Source
audit-feature-parity.md§2A #16.Owner decision 2026-10-31: "replace + merge (dry run) + create-from-file" (Q-PN-12).