For a healthtech DMARC policy rollout, the bill covers DNS migration work, monitoring, report review, and retained evidence. Begin with monitoring before quarantine or reject when moving zones off a registrar-specific API.
For retained data, the arithmetic is explicit: stored bytes equal reports per day × average retained bytes per report × retention days. Doubling the retention window doubles that storage term if the other inputs stay fixed. Whether storage dominates the actual bill requires measurements; review time may be the larger expense.
Short answer: publish a DMARC TXT policy with p=none first, use aggregate reports to identify legitimate senders and alignment failures, then request p=quarantine before advancing to p=reject. Advance on evidence, not a calendar. During a zone migration, customer-owned domains need an identified customer approver; platform-owned domains need an internal owner accountable for the sending inventory. Keep policy changes separate from the authority transfer so a delivery problem has a tractable cause.
The change that directly reduces the retained-byte term is to preserve compact aggregate observations and policy history while expiring raw report files. That saves forensic detail, too. A useful rollout makes that loss explicit before anyone needs to explain a missing appointment reminder or email OTP.
What evidence deserves a place in the bill?
RFC 7489 distinguishes aggregate reporting from message-specific failure reporting. Aggregate reports describe authentication results and message counts, including source IP addresses and identifiers. Failure reports can contain substantially more message-specific information. A healthtech team should therefore decide which reporting it actually needs before enabling collection. This is a data-minimization decision, not a claim that a particular reporting configuration satisfies a healthcare regulation.
Start with aggregate reporting through rua.
Leave ruf out unless a separate review establishes why failure reports are needed, who can access them, and how they will expire. Aggregate data still deserves controlled access: source addresses and sending domains can disclose operational relationships even without message content. Don't add recipient addresses, patient identifiers, or OTP values to the DNS migration evidence store. None helps establish DMARC alignment.
Use the storage equation to find the dominant term in the design rather than attaching an invented price to it. If raw files occupy more retained bytes than normalized observations and policy snapshots combined, raw retention is the largest storage term. Shortening its window moves that term directly. If investigation hours dominate instead, aggressively deleting everything may increase the total operating burden because every discrepancy becomes a fresh investigation. Measure both.
The minimum useful normalized observation is a reporting interval, reporting organization, policy domain, source IP, message count, evaluated disposition, and the authentication and alignment outcomes available in the report. Preserve the published policy revision alongside it. Without that revision, a quarantine disposition can be misread as evidence about a later reject policy.
Keep the context.
Which comes first: monitoring, quarantine, or reject?
Monitoring comes first.
In RFC 7489, p=none requests no particular handling based on DMARC; it does not promise inbox delivery or turn off a receiver's other filtering. p=quarantine asks receivers to treat failing mail as suspicious, while p=reject asks them to reject it. Receivers retain local discretion. Treat these as requested dispositions, not delivery guarantees.
DMARC passes when a successful SPF or DKIM result is aligned with the domain in the visible From header. A successful authentication result for an unrelated domain is insufficient. That distinction matters when a healthtech application sends appointment reminders through one path, email OTPs through another, and support replies through a third. Those are proposed inventory categories for this migration, not evidence that any deployed system has those senders. Each actual path needs verification.
The following Python represents three illustrative TXT values for _dmarc.clinic.example. Publish only the selected value as the policy record; the list is a progression, not three records to install together. The reporting mailbox uses the same domain to keep the example free of external reporting authorization setup. Its existence and ability to receive reports are deployment prerequisites.
policy_steps = [ "v=DMARC1; p=none; rua=mailto:dmarc@clinic.example", "v=DMARC1; p=quarantine; pct=10; rua=mailto:dmarc@clinic.example", "v=DMARC1; p=reject; pct=100; rua=mailto:dmarc@clinic.example", ] The 10 percent quarantine step is an example of limited initial enforcement, not a universal safe threshold. Under RFC 7489, pct limits application of the requested policy; it does not make reports a complete application delivery ledger. For a reject policy applied below 100 percent, messages outside that percentage should receive quarantine treatment. Read that behavior before treating percentage changes as a harmless switch.
Before leaving monitoring, account for legitimate sending paths, establish that their aligned authentication works, and resolve unexplained failures involving those paths. Before reject, expand quarantine exposure as the evidence supports it and reconcile remaining discrepancies. A quiet interval that excludes a real sending workflow proves little. Aggregate reports can reveal a pattern, but they cannot prove that an individual OTP arrived before it expired. Keep application delivery observations separate and correlate them at an appropriate operational level.
Zone ownership changes who can authorize the evidence
A registrar API migration can preserve the visible TXT string while changing who has authority to maintain it.
Record that ownership before moving the zone. For a customer-owned zone, the customer must identify legitimate senders outside the platform and authorize enforcement changes. The platform cannot infer that a source is unauthorized merely because it is absent from its own sending inventory. For a platform-owned zone, the internal domain owner can coordinate those decisions across sending services, but still needs their owners to attest to coverage. This distinction also sets the scope of report access. A customer-domain report may include traffic unrelated to the healthtech platform. Define the permission to receive and inspect that evidence instead of treating DNS editing access as permission to retain all reports indefinitely. If reports go to an address outside the policy domain, RFC 7489 specifies a DNS authorization mechanism for the external report destination. Include that dependency in the migration inventory. Copying only the main TXT value can leave the intended reporting arrangement incomplete.
Subdomains deserve their own review.
The sp tag controls requested policy for subdomains where applicable, and policy discovery can use the organizational domain when no applicable policy is found at the author domain. Inventory the relevant parent and subdomain policies together. An apparently small edit to a parent policy may affect a sending subdomain that nobody included in the OTP migration test.
Transfer authority before tightening disposition
Preserve the existing policy during the DNS authority move.
Compare the old and intended zones for the DMARC TXT record, reporting authorization records where needed, and the SPF and DKIM records used by the sending inventory. Then verify the resulting authoritative answers and allow for cached answers according to the affected TTLs. A successful write through the new API is only evidence that the write was accepted; it is not proof of what resolvers or receivers currently observe.
Test the migration at two boundaries. At the DNS boundary, compare intended and observed values and reject conflicting DMARC policy records. At the mail boundary, exercise each authorized sending path and examine authentication results. Keep the checks tied to the same policy revision so stale reports cannot silently become approval evidence for a newer configuration. Moving DNS and tightening enforcement together makes this attribution harder and increases the number of explanations for a failure.
Record report-processing failures, reporting intervals, and observations of unknown sources. Alert on unexplained changes in legitimate-source alignment and on gaps in expected evidence, while recognizing that receivers do not provide a guaranteed complete reporting feed. If parsing fails, retain the failed artifact only within the approved diagnostic window and expose the failure to the operator. An empty dashboard must not silently mean zero failures.
Prepare the previous known policy value and its approver before an enforcement edit. Restoring that value is an operational rollback, subject to DNS caching. It does not retrieve rejected messages or ensure that an expired OTP becomes usable. Delivery recovery belongs to the application's own workflow.
Decide what to stop keeping
Set the retention rule before the first enforcement step: retain enough normalized aggregate history to evaluate the agreed sending inventory, preserve policy revisions and approvals for the organization's review needs, and expire raw report files after a deliberately bounded diagnostic window. The precise windows require the team's actual investigation and compliance requirements; the DNS standard does not supply a universal healthcare retention period. Test expiration as part of operating the collector.
The deliberate sacrifice is the ability to reconstruct every parsing decision from its original attachment after that window closes. A normalized record can show what the collector concluded, but a deleted source file cannot be reparsed when a parser defect is discovered. Keep parser version information with the observations so that limitation is visible. Extending raw retention buys more reanalysis capacity at the cost of retaining more operational data.
That is the decision to settle before reject: an accountable zone owner, verified legitimate sending paths, evidence tied to the policy actually published, and a retention boundary whose investigative cost the team accepts. Monitoring, quarantine, and reject then become controlled policy changes with explainable evidence.
References
RFC 7489 specifies DMARC alignment, policy discovery, requested dispositions, percentage handling, aggregate and failure reporting, and external reporting authorization. Relevant sections include 3.1, 6.3–6.7, 7.1–7.3, and 9. The operational gates and retention design above are engineering recommendations, not additional requirements imposed by the RFC.
Further reading
- RFC 7489 — Domain-based Message Authentication, Reporting, and Conformance (DMARC): https://datatracker.ietf.org/doc/html/rfc7489


