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.…