SaaS DNS Records and Mail Outcomes — 3 Retention Budgets Before Onboarding
The monitoring bill has several parts: scheduled lookups, controlled mail probes, stored observations, and the engineering time spent explaining conflicting results. For B2B SaaS onboarding, start by budgeting the evidence you retain. In an illustrative storage budget with equally sized observations, keeping every daily observation for 30 days consumes 30 times the record count of keeping only the latest observation. That arithmetic identifies a retention multiplier; it does not establish which component dominates an actual bill. Measure observation volume and stored bytes before choosing the expensive part to optimize.
Short answer: monitor DNS configuration, resolution, and mail outcomes separately, and require a current domain-control check before onboarding completes. Mail acceptance supplies delivery evidence, but the onboarding gate should require the specific ownership evidence your application issued. Preserve enough context to explain that decision after the underlying records change.
A healthy dashboard is a weak onboarding contract if nobody can say what its green light proves. The useful question is how long each observation remains relevant, and what evidence survives when a customer disputes a decision.
What should DNS monitoring retain about configuration and mail outcomes?
For this design, define three evidence classes: a domain-control observation, a configuration observation that includes the resolution result, and a controlled mail-outcome observation. These are proposed application boundaries, not three interchangeable definitions of health. A tenant can have a matching ownership challenge while its mail authentication configuration needs attention; a mail probe can produce a favorable result while the application still lacks the ownership evidence it requires. Resist the temptation to collapse those states into a single boolean whose meaning changes depending on which checker ran last.
Keep them separate.
RFC 7489 describes DMARC as a way to express domain policy and report authentication results, with identifier alignment connecting the message's visible author domain to an authenticated identifier. Its discussion of identifier alignment and authentication mechanisms matters here: finding a policy record is a configuration observation, whereas evaluating a message requires evidence about that message. A DNS record by itself cannot supply the authentication outcome for a particular message.
The same RFC also places limits on what a policy tells you about receiver behavior. Section 6.7 discusses policy enforcement and receiver discretion, and Section 10.3 addresses reporting participation. A published policy and the absence of a failure report shouldn't be treated as proof that a particular onboarding message reached its intended recipient. Define “accepted” narrowly in the application: record the observed acceptance event and its scope, and require a distinct recipient-visible event if that stronger claim matters to the workflow.
For ownership, use an application-issued challenge bound to the pending tenant and domain, and require an observed match before advancing that tenant. This is a proposed gate design. DMARC is not the ownership protocol for this application, and a favorable authentication report should not substitute for the application's own challenge evidence.
Retain the decision, then budget its supporting observations
The retention change worth evaluating is to replace repeated unchanged payloads with a compact current snapshot, while keeping the evidence that supported an onboarding decision and the transitions needed to investigate it. This changes the stored-volume term directly. It also removes historical detail. A storage design that claims both complete reconstruction and aggressive deletion deserves scrutiny.
Consider a planning example, not a measurement: one observation per day over a 30-day window produces 30 observation records for a tenant whose state never changes. A latest-only design holds one current record; adding one separate onboarding decision record makes two. That comparison counts records only. Variable payload sizes, indexes, replication, and any retained transition history prevent it from being a prediction of storage charges.
The missing history matters.
Replacing an unchanged snapshot must preserve the latest observation time rather than imply that the original successful check still describes the current state, and an onboarding decision must retain the time of the evidence it actually consumed. Otherwise compaction creates an attractive but misleading record: today's timestamp attached to yesterday's proof.
| Evidence retained | Decision it supports | Boundary and retention trade-off |
|---|---|---|
| Latest ownership challenge result | Whether the pending tenant met the application's control gate | A later refresh must not rewrite the evidence used for an earlier decision |
| Latest configuration and resolution observation | Whether the current check saw the expected configuration | Replacing old payloads limits reconstruction of intermediate states |
| Controlled mail outcome tied to a particular probe | What happened to that probe within the observed boundary | A favorable probe is not evidence about every message or recipient |
| Onboarding decision and evidence references | Why a tenant advanced at a particular time | References become useless if their supporting records are deleted first |
Storage durability and evidentiary completeness are different requirements.
A decision record can survive every storage failure your system is designed to tolerate and still be useless if it points to an expired observation. Give the decision and its required supporting evidence compatible retention policies; test deletion against those dependencies before enabling it in production.
Make uncertainty visible at the onboarding gate
Name the failure modes in the data model. A challenge mismatch, an observation that is too old, a resolution check that did not complete, and a mail outcome outside the expected observation window need different states, even if all four prevent an automatic onboarding decision. Calling each one “DNS failed” forces the next engineer to rediscover the evidence boundary from logs.
A timeout is inconclusive.
Choose freshness windows as application policy and document their rationale; RFC 7489 does not prescribe a SaaS ownership-challenge lifetime. Retain the challenge identifier, tenant binding, observation time, expected value comparison, and checker-policy version with the decision evidence. Store a result that refers to the actual challenge rather than a free-floating “verified” flag, because retries and challenge replacement should not accidentally let an old result satisfy a new enrollment attempt. These are design requirements to test, not claims about an existing service.
Keep the gate understandable for support staff. If current ownership evidence is missing, the tenant remains pending. If ownership evidence is present but the controlled mail observation is inconclusive, represent that distinction explicitly and apply the separately documented delivery-readiness policy. Whether onboarding requires both is a business decision; an implementation must make that choice visible rather than silently equate domain control with mail readiness.
For the monitoring system, record observation age, inconclusive check counts, transition counts, and decisions lacking retrievable supporting evidence. These proposed metrics describe the quality of the evidence pipeline. They are more useful for this job than an undifferentiated success percentage, which can improve merely because the checker stops observing the difficult cases.
Test expiration and deletion before changing retention
Test the awkward sequences: an ownership challenge is replaced while a check is in flight; a successful observation ages past the gate's freshness window; a mail probe has no conclusive outcome; or a retention job reaches supporting evidence while its onboarding decision still exists. Each test should assert the resulting tenant state and the explanation available to an operator. A checker that correctly parses a record can still support an incorrect onboarding transition.
Deployment should begin with a comparison period in which the proposed compact representation and the existing retained observations can both explain the same decisions. Compare decision evidence, not just row counts. Before changing deletion policy, ask the team responsible for customer investigations to reconstruct one pending enrollment and one completed enrollment from the retained data alone. That exercise tests the operational interface as well as the schema.
This costs engineering time.
It also makes the retention trade-off concrete: fewer repeated payloads reduce the volume to store and inspect, while selective retention makes some historical questions unanswerable. Keep that limitation in the support contract and in the internal investigation procedure.
Decide what the system will forget
A defensible onboarding gate links a tenant to current ownership evidence, preserves the configuration and resolution context it used, and labels the scope of any mail outcome. RFC 7489 supplies relevant authentication and reporting boundaries; it does not remove the need to define the application's decision policy. Price is a consequence of that policy, not its justification.
Under the compact retention proposal, deliberately stop keeping repeated unchanged raw observations after the chosen window, and discard obsolete challenge payloads once no retained decision depends on them. Keep the decision, its evidence timestamps, and the supporting records required by the investigation policy. When something goes wrong later, this choice costs the ability to replay every intermediate observation or establish exactly when an unobserved change occurred. Accept that loss explicitly before turning on deletion.
References
RFC 7489, particularly Sections 3.1–3.3 on alignment and authentication, Section 6.7 on policy enforcement, Section 7 on reporting, and Section 10.3 on reporting participation, provides the standards basis for the mail-authentication boundaries discussed here. The challenge gate, evidence classes, retention arithmetic, and operational procedures above are proposed application design choices.