Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Platform Over Customer Ownership for 100 Tenants With DNS Zone Deletion Guards

A shared marketplace namespace concentrates administrative authority, while customer ownership puts the DNS boundary outside the marketplace's sole control. For a marketplace assigning every tenant a subdomain automatically, choose platform-owned zones when the platform owns the parent domain and can keep zone deletion outside tenant automation. TL;DR: make tenant offboarding a narrowly…

In a shared marketplace namespace, administrative authority is centralized, while customer ownership places the DNS boundary outside the marketplace's control. When the platform assigns each tenant a subdomain automatically and retains sole control of the parent domain, platform-owned zones should be used. This arrangement enables the platform to prevent zone deletion during tenant offboarding.

The article discusses two ownership options: platform-owned zones and customer-owned zones. Platform ownership is suitable when the platform maintains sole control over the DNS zone, allowing it to keep the zone deletion process separate from tenant automation. On the other hand, customer-owned zones are appropriate when customers must retain full authority over their domains. In this case, the ownership boundary should be clearly defined within the system.

The number of tenants mentioned in the title, 100, is merely an example and does not reflect a specific deployment or capacity. The critical constraint is that one tenant's departure should not result in the deletion of the DNS container used by the remaining tenants.

To prevent accidental DNS zone deletion during automated offboarding, the system must ensure that tenant automation can only request the removal of the tenant's managed DNS records without granting permission to delete the shared zone. Ownership should be defined by two fields: the party controlling the domain and the party authorized to operate on a specific resource. The implementation should verify the desired permission boundary to prevent unauthorized zone deletions.

The offboarding design should require the request to declare its operation type and target scope independently. Destructive zone operations should be excluded from workflows that only handle tenant record operations. This separation of concerns helps maintain a clear audit trail and ensures that zone deletions are not performed inadvertently through tenant record workflows.

When a zone-deletion request is submitted, it should include a deletion intent that specifies the owner, immutable target identifier (if available), expected scope, and requesting actor. This intent should be reviewed before execution, and the review should be bound to the intent. Prior to zone retirement, the current dependencies should be rechecked to ensure they match the reviewed inventory.

If there are any discrepancies, a new decision is required. A time limit for approval can be set as a policy, but the elapsed time alone cannot guarantee that dependencies have remained unchanged. In the case of a hypothetical 100-tenant parent zone, retiring a single tenant should not trigger zone retirement, while retiring the entire marketplace namespace should be allowed but blocked until the inventory confirms that no active tenants remain associated with that namespace.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Build a Portable Homelab That Fits in Your Carry-On

Your homelab does not have to stay home. Whether you are heading to a conference, working from a hotel, or just want your own trusted network wherever you land, a portable homelab is completely doable…

  • Portable homelab fits in carry-on with compact hardware.
  • Use travel router, SBCs, and gigabit switch for network.
  • Enable WireGuard tunnel for remote access to home services.

How UNSWEEP Tests and Verifies Its EIP-7702 Token Recovery Contracts

When a wallet's private key is compromised by a sweeper bot, sending ETH for gas to rescue remaining ERC-20 tokens usually fails—the bot drains the gas before the recovery transaction lands.

  • UNSWEEP tests token recovery contracts with Foundry and solc 0.8.39
  • Contracts include EIP-712 domain, replay protection, and transient reentrancy lock
  • Slither identifies high and low severity issues in contracts

My scope-creep detector caught the blog request. Then it waved a bigger one through.

A client asked for "a quick blog section" halfway through a three-deliverable build. I had the contract open in one tab and the request in another, and I wanted something to tell me what my gut…

  • Author created scope-creep detector tool to identify out-of-scope work items
  • Tool flagged blog request as in-scope despite contract limitations
  • Detector serves as early warning system, not decision-maker for project scope

SMS OTP Login Compliance and Phishing Risks under GDPR PSD2 and NIST Explained

An educational marketplace can start with a minimal seller order notice and an authenticated dashboard. SMS OTP alone isn't enough evidence of login compliance under GDPR or PSD2, and NIST identifies…

  • SMS OTP login under GDPR, PSD2, and NIST lacks phishing resistance
  • Delivery receipt cannot confirm OTP recipient or phone number ownership
  • Minimal data flow separates authentication verification from message dispatch

More from Tuesday 24 November →