Menu

Marketplace DNS Zone Configuration — Environment Assertions Before Tenant Provisioning
📰

Marketplace DNS Zone Configuration — Environment Assertions Before Tenant Provisioning

DEV Community: backend·MagnusNilsson2124·16 days ago
#JbEyowym
#devtobackend#devto#dev#zone#environment
Long article (1960 words) — no AI summary yet.
Reading 0:00
15s threshold

Give platform-owned tenant subdomains an environment-specific zone binding; treat a customer-owned domain as a separate authority decision. TL;DR: put the zone identifier in per-environment configuration and assert at startup that the provider reports the expected domain for that identifier. Stop startup on a mismatch. A shared hard-coded identifier can send a staging provisioning job into the production zone.

For a marketplace handing each seller a subdomain, the useful boundary is the moment a worker acquires permission to provision names. DNS lookup success alone is insufficient evidence for that permission. The worker needs a verified association between its configured identifier and the domain it intends to manage, before it consumes its first tenant job.

Decision: bind authority before opening the job consumer

Use platform-owned zones for the automatic subdomain path in this design.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.