Skip to content

feat: Keep private DNS zones out of public DNS - #230

Open
scotwells wants to merge 2 commits into
mainfrom
feat/private-dns-zone-isolation
Open

scotwells wants to merge 2 commits into
mainfrom
feat/private-dns-zone-isolation

Conversation

@scotwells

@scotwells scotwells commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Keep private zones and their records out of public DNS discovery, replication, and serving.

User experience

Set DNSZone.spec.visibility to Private when creating a private zone. Existing zones default to Public. Visibility is immutable; changing it requires a new zone.

This PR establishes the publication boundary. Private resolver access and query serving follow in the stack.

Related: datum-cloud/enhancements#921 and architecture #229.

Validation

Local Kubernetes tests cover visibility defaults, validation, and immutability. Controller tests cover all six public controllers, record ordering, and deletion. Builds, lint, and PowerDNS integration tests passed. The repository-wide race run also reproduced existing webhook fixture races on unchanged main.

@scotwells
scotwells added this pull request to stack #240 October 9, 2026 02:17
@scotwells
scotwells marked this pull request as ready for review October 12, 2026 16:56
@scotwells
scotwells requested a review from a team as a code owner October 12, 2026 16:56
@scotwells
scotwells force-pushed the feat/private-dns-zone-isolation branch from f30b2ad to dbc0578 Compare October 12, 2026 17:21
Keep the private-zone isolation change compatible with the current DNS
agent and metrics configuration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants