Skip to content
Product

Introducing DNSMigrator: DNS moves you can check before you make them

A DNS migration tool that previews every record, verifies answers at the new nameservers before cutover and keeps a rollback that only touches its own writes.

Updated 8 min readDNSMigrator team

Changing a delegation takes one registrar action. Knowing that the new authority will answer every query correctly is the hard part. Run the DNS migration checker, then follow the quickstart to move that proof ahead of the nameserver change: preview each record set, write only after typed confirmation, and query the destination nameservers directly before any resolver depends on them.

What a DNS migration tool must do beyond copying#

Provider APIs do not describe the same model. One provider may store an apex alias, another may allow an apex CNAME and flatten it, and a third may require static addresses. A proxied Cloudflare record includes HTTP routing behavior that an ordinary A record cannot carry. Weighted and failover answers may become plain round-robin at a destination without equivalent routing.

A row-for-row copy either fails at the destination or, worse, succeeds while changing behavior. DNSMigrator first normalizes the source into a canonical zone, then translates it against the destination provider's capabilities. Each preview row is labeled Exact, Translated, Review, Unsupported, or Managed. The result says whether a value is preserved, deliberately converted, loses a provider feature, cannot be represented, or is managed by the destination.

For example, the translation engine converts the obsolete SPF record type to TXT when needed, clamps TTLs to the destination's accepted range, and warns when proxying or routing will be lost. It can map an apex alias to a destination alias or flattening feature. If the destination has no safe representation and no current static addresses were supplied, it blocks that row rather than inventing one. See translation rules and how to read a preview.

The source can be a connected provider API, a BIND zone file, or a read-only Zone transfer connection. Zone transfer accepts up to five primaries with failover and optional TSIG, uses AXFR for the full read, and can use SOA serial checks plus IXFR for later monitoring. Its preview calls out what DNS wire data cannot recover, including likely proxy addresses and flattened apex aliases. A zone-transfer connection is never offered as a destination.

How the DNS migration tool verifies the new server#

The useful DNS migration test is not a query through your normal resolver. Before cutover, that resolver should still follow the old delegation. Query the new authoritative server by name instead:

bash
dig +norecurse @ns1.new-dns.example example.com A

A healthy, illustrative response looks like this:

text
;; ->>HEADER<<- opcode: QUERY, status: NOERROR
;; flags: qr aa; QUERY: 1, ANSWER: 1

;; ANSWER SECTION:
example.com.  300  IN  A  192.0.2.44

The aa flag matters: it says the server answered from authoritative data. Run the same test for MX, TXT, CAA, SRV, HTTPS, wildcard names, and representative negative answers. Testing only the website apex leaves mail and service-discovery failures hidden.

DNSMigrator does this after apply for every desired record set. It uses the nameservers returned by the destination provider and sends authoritative queries to them. Literal records are compared with their expected values. Alias-like records are queried using the type clients will actually request; when useful, verification also asks the old authority for the resolved answer. A mismatch is recorded per name and type, and verification retries before returning the migration to an applied-but-not-verified state. The nameserver delegation has not changed at this point.

You can follow the same method manually in Apply and verify, build the exact checks from the dig command examples for DNS migrations, or inspect a zone with the DNS record diff and zone diff tools.

Push safety binds apply to the reviewed plan#

A preview is a statement about two snapshots. The destination might change after you review it: another operator adds a TXT challenge, an automation job rotates an address, or a previous deployment completes. DNSMigrator gives every preview a SHA-256 plan fingerprint and exposes Download plan as Markdown, CSV, or JSON.

At apply time, DNSMigrator ensures the destination zone exists, reads it again, saves a before snapshot, and rebuilds the create, update, and delete plan. It writes only when the rebuilt fingerprint matches the reviewed one. If the destination changed, the timeline records the new counts, nothing is written, and Plan review asks you to Review again.

The default Update limit and Delete limit are 30% once the destination has at least 10 record sets. An over-limit push or migration apply requires the typed word force, and the fingerprint plus override are saved to the audit log. Block when records can't be represented can also stop apply until you explicitly accept omitted records, lost routing, or lost proxying.

Managed zones add separate guards. The Apex NS records setting defaults to Never change; Change with confirmation requires a nameserver acknowledgement. What a push may delete can be limited to Only records DNSMigrator pushed, and each record's Serve from control can include or exclude attached providers. Publish a verification record adds a _dnsmigrator TXT naming the provider and plan fingerprint so cutover can check every new nameserver.

Migration apply writes only the destination; the source connection is used for reading. The optional cutover TTL-lowering step is the separate exception for writable source providers and explicitly updates eligible source TTLs. A zone-transfer source remains read-only. After a successful destination write, verification starts against the destination authority. This ordering is the practical difference between “the API accepted my records” and “the nameservers return the intended DNS.”

DNS migration rollback is a compare-and-swap#

A full snapshot restore can erase work that happened after a migration. DNSMigrator instead records the subset of creates, updates, and deletes that its apply actually completed.

Rollback reads the destination again and reverses a create only if that record still equals the value DNSMigrator wrote. It reverses an update only if the current value still equals the migration's after-value. It recreates a deleted record only if the key is still absent. If someone changed one of those records after apply, rollback skips it and reports that decision. Records outside the applied plan are never part of the rollback plan.

That gives you a way back without claiming ownership of unrelated destination changes. Rollback is still time-limited: the current one-time packages provide either seven or 30 days, depending on the migration tier. The detailed behavior is in Rollback.

DNS migration cutover includes the parent zone#

A correct destination zone is necessary but not sufficient. The registry's NS and DS records determine which authority and DNSSEC keys validators trust.

For a signed zone, DNSMigrator's guided and automated cutover sequence is conservative: remove the old DS, wait for cached DS data to expire, switch the delegation, observe propagation, enable signing at the destination, and publish the new DS. Apply and verification must finish before cutover can start. Guided mode tells you what to change; automated mode uses a connected registrar when its API supports the operation. Read DNSSEC transitions and nameserver cutover before scheduling the change.

The old provider must keep serving during the delegation cache window. A resolver that cached the former NS set may continue asking those servers even after the registry publishes the new set. The propagation checker shows observations, but a sample of matching resolvers is not permission to delete the old zone early.

DNSControl's model, with a web workflow#

DNSMigrator also manages zones after a move. The web app covers the DNSControl model: structured records with strict type validation and IDN-to-punycode normalization, ignore rules, NO_PURGE and ownership-only deletion, builders, import transforms, AutoArpa PTR generation, per-record Serve from rules, multiple DNS providers, dependency-ordered pushes, registrar synchronization, drift checks, backups, and dnsconfig.js import and export. The browser importer supports variables, CLI_DEFAULTS(), HASH(), and resolver-backed SPF flattening. The DNSControl parity reference maps each concept to its implementation.

The same Config as code view imports and exports octoDNS YAML and generates a starter config.yaml with environment-variable placeholders. Provider coverage now includes beta adapters for Openprovider, UltraDNS, Constellix, easyDNS, EdgeCenter, Rackspace Cloud DNS, and Selectel.

If you prefer local files, the open-source dnsmigrator CLI checks, translates, lints, diffs, and exports zones, including octoDNS formats, and can inspect propagation and DNSSEC. It does not take provider credentials. Start with the CLI guide.

During the public preview every feature is free for every account, and paying is optional. The standard prices below apply after the preview ends, and they follow the work performed, not the preview. The Free plan is $0 per month and includes previews plus a zone editor for up to three zones. A one-zone Migrate package is $9 for up to 50 record sets with a seven-day rollback window. Migrate + cutover is $29 for any zone size, guided switching, DNSSEC handling, and a 30-day rollback window. Automated is $49 and adds registrar nameserver changes, also with a 30-day rollback window. Current subscription details are on Pricing.

A migration-ready checklist#

  • Read the source through its provider API, a complete zone file, or an authorized zone transfer.
  • Review every translated, warning, unsupported, and skipped row, including transfer-loss advisories.
  • Account for proxy, redirect, routing, and apex-alias behavior outside standard DNS.
  • Download the plan and record its fingerprint, creates, updates, deletes, and safety limits.
  • Apply only while the fingerprint still matches, then require authoritative verification before cutover.
  • If DNSSEC is active, schedule the DS wait as part of the change.
  • Keep the old authority answering for at least the parent delegation cache window.
  • Preserve the rollback window and avoid unrelated destination edits until the move is stable.

A nameserver switch should be the final small step in a migration, not the first moment you learn what the new provider does.

What is a DNS migration tool?
A DNS migration tool reads a source zone, translates it for a destination provider, previews the planned changes, and verifies the new authority before nameservers move. It should expose provider-specific behavior rather than treating DNS as a row-for-row copy.
Can DNSMigrator preview a migration for free?
Yes. DNSMigrator can read and translate the source, compare it with the destination, and show each Exact, Translated, Review, Unsupported, or Managed row before apply. Start with the DNS migration checker or the quickstart.
How does DNSMigrator verify DNS records?
After apply, it queries the destination's authoritative nameservers directly and compares their answers with the desired record sets. This happens before delegation, so a recursive resolver does not need to send production traffic to the new provider.
Does DNSMigrator change nameservers automatically?
Guided cutover tells you which NS and DS changes to make; automated cutover uses a connected registrar when its adapter supports those operations. A failed check pauses the cutover rather than silently reverting it, and you can choose Switch back to the old provider.
Can I migrate DNS from a BIND zone file?
Yes. A BIND zone file, including supported $GENERATE directives, can be the read-only source. If an authoritative primary allows AXFR, a Zone transfer connection is another read-only option. In either case, review what aliases, proxying, routing, SOA, and apex NS data cannot carry to the destination.