Migrations
Apply and verify
Apply DNS changes safely with a fresh live re-plan, destination snapshot, batched writes, and authoritative verification of every expected record set.
7 min read
On this page
Apply writes only the plan you reviewed. It re-reads and snapshots the destination, recalculates operations, and compares their SHA-256 fingerprint with the preview. If live state changed, no record operation is sent and you must select Review again. A matching plan is applied in dependency-aware order, then verified against authoritative nameservers.
Before you apply#
A connected destination must be active and writable. Review four parts of the page:
- Plan: every Review target will be written, while Unsupported and Managed rows have no target.
- The mode: Keep extra records leaves destination-only records alone; Make an exact copy deletes them.
- The operation plan: check Create, Update, Delete, and Already correct.
- Plan review: inspect the fingerprint, update/delete limits, and blocker state. Select Download plan for Markdown, CSV, or JSON.
Update and delete limits default to 30% when the destination has at least 10 existing record sets. A plan over either limit shows Large change and requires Type force to accept it followed by Record acknowledgement. If Block when records can't be represented is enabled, unsupported rows and lost routing or proxy behavior require Apply without these records. Both acknowledgements are audit-logged with the plan fingerprint.
Optionally enable Publish a verification record before applying. It adds a 60-second _dnsmigrator TXT containing the destination provider and short plan fingerprint. The record has no account details.
Apply entitlement#
Preview and zone-file download are free. Writing to a provider requires an administrator and one of these entitlements for that migration:
| Translated target size or action | Minimum tier | Current one-time offer |
|---|---|---|
| Up to 50 target record sets | Migrate | $9; 7-day rollback window |
| More than 50 target record sets | Migrate + cutover | $29; 30-day rollback window |
| Guided nameserver cutover | Migrate + cutover | $29 |
| Registrar API cutover | Automated | $49; 30-day rollback window |
The count is the number of translated target record sets, so Unsupported and Managed rows are not included. A higher one-time tier satisfies a lower requirement. Pro does not include applies; Agency includes the guided-cutover tier and therefore any-size apply, but not automated cutover. See Plans and billing or Pricing.
If card checkout is configured, the card reads Pay price and continue and returns to the migration. A launch access code can also unlock a tier where that program is available.
Apply step by step#
Confirm the plan mode
On Plan, leave Keep extra records selected for a merge, or choose Make an exact copy for a mirror. Wait until the migration returns to Awaiting review after any change.
Complete Plan review
Expand every Review and Unsupported row. Download the plan if you need an approval artifact. Type force for a large change and select Apply without these records. only when you deliberately accept every listed blocker.
Type the zone name
In Apply to provider, enter the displayed zone name. Matching is case-insensitive and accepts a trailing dot, but the UI asks you to type it exactly.
Select Apply changes
Select Apply n changes. The migration changes from Awaiting review to Applying. If the live fingerprint differs, it becomes Needs attention, nothing in the record plan is written, and Review again appears.
Read the destination record check
A successful apply enters Checking DNS automatically. Open Preflight → DNS and wait for DNS matches, or inspect every mismatch in Destination record check when the migration returns to Applied. Use Check again to run the check later.
A Zone file destination has no apply stage. Select Download zone file and import it yourself; unsupported rows are omitted. See BIND zone files.
What happens on the worker#
Apply performs these operations in order:
- It calls the destination adapter’s zone-ensure operation. This uses an existing zone or creates a container and records its reference and nameservers.
- It reads the destination and saves a
destination-beforesnapshot. - It rebuilds the merge or mirror plan from translated targets, with provider-normalized TTLs and metadata.
- It hashes the new create/update/delete operations and compares them with the reviewed fingerprint. A mismatch records the new counts and stops before record writes.
- It recalculates the update/delete safety percentages and confirms any stored
forceacknowledgement still applies. - It sends the matching plan to the provider and stores only the subset that succeeded.
- It stores the rollback deadline, consumes the entitlement, and queues verification after 10 seconds.
A newly created zone container can exist even when step 4 stops the record apply. Select Review again so provider-managed records added during creation are reflected in the next plan.
Deletes are ordered in reverse dependency order, updates use stable canonical order, and creates put targets before records that point to them. NS is created before DS at the same owner. Provider adapters may batch operations or replace a whole zone according to their API; no cross-provider transaction is implied.
Partial failures#
Provider APIs can accept some operations and reject others. DNSMigrator records up to the first five failed operations in Activity, removes those failures from the stored “applied” plan, and retains the successful subset for rollback. The migration becomes Needs attention and reports how many operations succeeded.
A partial apply receives a rollback deadline even though verification did not complete. Do not edit the successfully written records before deciding whether to roll back: the rollback safety check deliberately preserves a record that no longer matches DNSMigrator’s write.
Authoritative verification#
Verification does not query a recursive cache. For each translated target, the DNS helper queries up to the first four nameservers returned by the destination, keeps successful NOERROR answers, and compares the union of their values with the plan. Up to eight target record sets are checked in flight. This is an aggregate check, not a per-nameserver consistency test; one divergent server can be hidden by the union. The worker makes three attempts by default, waiting 40 seconds between attempts when failures remain and writing a verify-retry event. Use these dig commands for checking a DNS migration to reproduce targeted authoritative queries yourself.
Literal and alias targets have different success rules:
| Target | Query | Result |
|---|---|---|
| Ordinary record | Its record type | Match only when normalized observed values equal the planned values exactly; missing and extra values are listed. |
ALIAS | A | Fails if there is no answer. With a source answer, equal address sets pass; differing nonempty sets are informational. |
| Apex CNAME | A | Same alias rule because the provider may flatten it. |
| Provider alias metadata | A, or AAAA for an AAAA alias | Same alias rule. |
When an alias resolves but no source answer is available, the result is informational: Alias resolves. No source answer to compare. When nonempty source and destination addresses differ, it is also informational because CDNs and load balancers can legitimately vary answers.
When _dnsmigrator was enabled, authoritative verification checks it like another target record. Later, the cutover propagation step queries it at each new nameserver and reports match, stale, other-provider, or missing. That per-server advisory does not replace ordinary record verification.
The Destination record check section at the top of Preflight → DNS shows which nameservers were asked, when, and one row per record set, with failed rows first:
- Match for
passrows. - Resolves for
inforows. - Doesn't match for
failrows, followed bymissingandextravalues when available.
A migration becomes DNS matches when there are zero failed rows; informational alias rows do not prevent it. The section badge then reads DNS matches; otherwise it shows how many records don't match. Read informational rows rather than treating them as an exact byte-for-byte match.
If failures remain after the final attempt, the records stay applied and the migration becomes Applied, not rolled back. Fix the destination or wait for the provider, then select Check again. The DNS rehearsal below the record check asks each nameserver separately and also compares TTLs and the AA flag, which helps find a single divergent server. The propagation checker is useful after delegation changes, while this verification checks the destination nameservers directly before cutover.
After the record check#
Once the migration is DNS matches, finish Preflight and continue to Nameserver cutover. If the plan became stale, select Review again instead of trying to reuse the old approval. If you need to undo destination writes, read Rollback first. Record rollback and nameserver switch-back are separate operations; neither substitutes for the other.