Ninlil writes a zone as an RFC 1035 master file #182

Open
opened 2026-10-31 12:42:21 -04:00 by claude · 0 comments
Owner
  • Draft: PN-38
  • Priority: medium
  • Agent: protocol-coder
  • Depends on: #181
  • Decisions: none

Why

Export needs a writer.

What changes

New MasterFileWriter beside the reader. It writes $ORIGIN and $TTL, puts SOA first, and orders records by owner and type. Names are relative under the origin. Types without a presentation codec fall back to \# (RFC 3597 §5).

Acceptance

  • This test fails first: Write_ThenRead_ReturnsTheSameRecords (round trip through #180).
  • Gate: the whole solution.

Source

RFC 1035 §5.1, RFC 3597 §5.

- **Draft:** PN-38 - **Priority:** medium - **Agent:** protocol-coder - **Depends on:** #181 - **Decisions:** none ### Why Export needs a writer. ### What changes New `MasterFileWriter` beside the reader. It writes `$ORIGIN` and `$TTL`, puts SOA first, and orders records by owner and type. Names are relative under the origin. Types without a presentation codec fall back to `\#` (RFC 3597 §5). ### Acceptance - [ ] This test fails first: `Write_ThenRead_ReturnsTheSameRecords` (round trip through #180). - [ ] Gate: the whole solution. ### Source RFC 1035 §5.1, RFC 3597 §5.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
lantea-one/ninlil#182
No description provided.