Idempotent Domain Provisioning for B2B Mail: Who Owns the Zone and Who Retries
The article argues that onboarding workers for B2B SaaS mail should be designed so retries are safe, starting from the question of who controls the DNS zone. A worker may know which SPF, DKIM, and DMARC records to publish yet lack authority to write them in a customer-owned zone, so a retry cannot substitute internal bookkeeping for the customer actually publishing those records. The recommended approach is to store the zone identifier after the first successful association, upsert each intended record where write access exists, and treat verification as a separate, repeatable step. For customer-owned zones the desired record set is preserved until the customer publishes it, while platform-owned zones let the worker apply records directly. The author notes that publishing authentication records supports delivery but does not guarantee it, and that the key invariant is convergence to the same zone association and records across repeated attempts.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in