Bridge CDN
On this page

What changes in a DNS migration, and what doesn't

Only one thing moves: which nameservers answer for your domain. Your registrar stays the same, your domain registration stays the same, and your website and mailboxes stay where they are. A DNS migration is not a domain transfer. You can migrate DNS to Bridge without touching who your domain is registered with.

The reverse case matters too. If you're changing web hosts but keeping DNS where it is, you don't migrate DNS at all. You change the A and AAAA records (or the CNAME) to point at the new host, ideally after lowering their TTL. With proxied records in Bridge, even that change stays invisible in public DNS. The answer is the Bridge edge, and you only update the origin.

Before you start

Gather these before you change anything:

  • Registrar access. You'll change nameservers there, and possibly a DS record.
  • Admin access at the old DNS provider. You need an export, and you need to edit TTLs.
  • The DNSSEC status of the domain. Run dig example.com DS +short. Any output means DNSSEC is active, and step 3 is not optional.
  • A quiet window. Pick a time when nobody else will edit records at the old provider.
  • Two to three days on the calendar. Most of that time is waiting, not working.

Do not change nameservers before the new zone is complete. Resolvers start asking the new provider as soon as they see the new delegation. Any record that's missing there stops resolving for those users.

Step 1: Inventory every record

Start with a full export. Most providers offer a zone file download, and that file is the most reliable inventory you'll get. If yours doesn't, list records from the dashboard by hand.

Records that people forget most often when they move DNS:

  • TXT verification strings for search consoles, SaaS tools and certificate checks;
  • DKIM selectors, like sel1._domainkey, which you'd never guess by name;
  • CAA records that limit certificate issuance;
  • SRV records for chat, VoIP or autodiscover;
  • NS records that delegate a subdomain to another provider;
  • wildcard records like *.example.com.

Why not a DNS zone transfer? Older guides suggest pulling the zone with AXFR. Most providers block zone transfers to outside addresses, and Bridge DNS doesn't use them at all, because we don't run secondary DNS. Use an export, a zone file or our public DNS scan instead.

Step 2: Lower TTLs at the old provider

At least one full TTL period before the switch, lower the TTL on records you expect to change. A record with a one-day TTL needs a full day's notice. This doesn't speed up the nameserver change itself, but it means any record you fix during the move clears caches in minutes, not hours.

Values, timing and why caches decide the wait are covered in the guide to lowering DNS TTL before cutover.

Step 3: Handle DNSSEC before cutover

DNSSEC is where DNS migrations break most often. The DS record at your registrar vouches for the old provider's signing keys. The moment resolvers reach Bridge nameservers, the old DS no longer matches, and validating resolvers return SERVFAIL for the whole domain.

The safe sequence:

  1. Remove the DS record at your registrar.
  2. Wait until the old DS has expired from caches. Check the DS record's TTL at the parent before removing it.
  3. Switch the nameservers (step 6).
  4. Once the Bridge delegation is live, enable DNSSEC for the zone in Bridge and complete DNSSEC delegation at your registrar if supported.

For a short period the domain is unsigned. That's expected, and it's far better than being unreachable. See how DNSSEC signing and validation work.

Step 4: Import the zone into Bridge

Bridge DNS gives you three ways in:

  • Cloudflare OAuth. Connect the account and pick the zone. Review the imported records against your inventory.
  • Zone file. Paste the export from step 1. Compare the imported records with the original file.
  • Public DNS scan. We read what the internet currently sees and propose a zone. A scan can't discover names nobody publishes, so check it against your inventory.

After the import, compare record counts by type with the old provider. Add anything missing by hand. Decide which A and AAAA records to proxy, and keep mail names DNS-only.

Getting the zone out of the old provider is the part that differs most:

Coming from How to get the records out
Cloudflare OAuth import, no file needed
AWS Route 53 Export the record sets with the AWS CLI, then rebuild alias records and routing policies where needed.
GoDaddy Use the export in the DNS settings, then change the nameservers at GoDaddy.
DNSimple The built-in export gives a standard BIND file. ALIAS, POOL and URL records come out as comments, so recreate those as A records or a proxied apex.
Anything else Look for "export zone" or "BIND file" in the DNS settings. If there isn't one, use the public DNS scan and your own inventory.

Step 5: Verify the new zone before switching

Review the new zone in Bridge before changing delegation. Where both providers answer authoritatively for the zone, query them directly and compare every important name:

for n in example.com www.example.com mail.example.com; do
  echo "$n"
  dig @ns1.old-provider.example $n A +short
  dig @ns1.bb-ns.com $n A +short
done

Repeat for MX, TXT, CAA and any SRV names. Proxied records will return the Bridge edge address instead of your origin, which is correct. Check that the remaining differences are intentional, including the new provider’s apex SOA and NS records.

Step 6: Change nameservers at the registrar

Replace the old nameservers with ns1.bb-ns.com, ns1.bb-ns.net and ns1.bb-ns.org. Remove all the old ones; a mix of old and new servers gives inconsistent answers. Look for the nameserver setting at your registrar.

How registrar delegation relates to the NS records inside your zone is explained in DNS nameservers and delegation. Confirm the change reached the TLD:

dig example.com NS +trace

Step 7: Keep both zones running during the cutover

For .com and .net, the delegation TTL is 172,800 seconds, so some resolvers keep asking the old provider for up to 48 hours. During that window:

  • don't delete the old zone;
  • don't change records at the old provider, or mirror every change in both places;
  • query the old and new nameservers directly to catch differences.

To see which resolvers already follow the new delegation, use the checks in how to check your DNS configuration.

Step 8: Finish the migration

When 48 hours have passed and traffic looks normal:

  1. If you use DNSSEC, confirm the new delegation and complete DNSSEC setup at your registrar.
  2. Raise TTLs back to your normal values.
  3. Delete the old zone, or keep it as a backup without delegation.

Mistakes we see most often

  • Switching nameservers on the same day as the import. Nobody checked the new zone, and a TXT record for mail verification was missing.
  • Leaving the old DS record in place. The domain looks fine on a laptop and fails for every user behind a validating resolver.
  • Editing records at the old host after the switch. Half the internet sees the edit, half doesn't, and nobody can explain why.
  • Deleting the old zone on day one. Resolvers still following the old delegation get nothing back.
  • Mixing old and new nameservers at the registrar. Answers depend on which server a resolver happens to pick.
  • Moving the web host and the DNS in the same weekend. Two changes at once make it impossible to tell which one broke things. Move one, confirm, then move the other.

How to roll back a DNS migration

Rollback is simple only if you kept the old zone intact. Put the old nameservers back at the registrar. Resolvers follow the parent's delegation TTL again, so the return trip takes up to 48 hours too.

If DNSSEC was involved, sequence it the same way as the move. Remove any DS record that points at Bridge keys before you switch back. Add the old provider's DS only after their nameservers answer again. Write the rollback steps down before you start. You don't want to be inventing them during an outage.

Planning a DNS migration with minimal downtime

When What
T−3 days Export and inventory. Check DNSSEC status.
T−2 days Lower TTLs. Remove the DS record if signed.
T−1 day Import into Bridge. Verify every name with dig.
T Change nameservers. Confirm with +trace.
T+1 to T+2 days Both zones answer. No edits at the old host.
T+2 days Enable DNSSEC, restore TTLs, retire the old zone.

Followed in that order, users see no downtime. Most "DNS migration took my site down" stories skip step 1 or step 3.

Moving several domains at once

Bridge DNS imports one zone at a time, and there's no public API for bulk changes, so plan a portfolio move as a series of small ones:

  1. Sort the domains by risk. Parked and redirect-only domains go first. Domains that carry mail or revenue go last.
  2. Move in batches of a few domains, each with its own export, import, check and nameserver change.
  3. Keep one spreadsheet with the old provider, DNSSEC status, cutover date and DS state for every domain. Most multi-domain incidents are a single forgotten DS record.
  4. Don't change registrars at the same time. A registrar transfer and a DNS migration are separate jobs. Doing both at once makes it hard to tell which one broke.

DNS migration questions

How long does a DNS migration take?

The hands-on work takes an hour or two. The waiting takes longer: one TTL period before the switch, and up to 48 hours after it for .com and .net, while resolvers drop the old delegation.

Will my website go down when I switch DNS providers?

No, if the new zone is complete and verified before the nameserver change. Both providers answer with the same records during the cutover, so it doesn't matter which one a resolver asks.

Do I need to transfer my domain to migrate DNS?

No. A DNS migration only changes the nameservers. The domain stays registered where it is. A registrar transfer moves the registration itself: it needs an auth code and an unlocked domain, and it usually adds a year to the term. It doesn't touch your records if the nameservers stay the same. Do the two separately.

Can I migrate DNS to Bridge with a zone transfer?

No. Bridge DNS doesn't accept AXFR or act as secondary DNS. Import with Cloudflare OAuth, a zone file or a public DNS scan instead.

What happens to email during a DNS migration?

Nothing, as long as MX, SPF, DKIM and DMARC records are identical at both providers. Sending servers also retry for days, so even a short gap rarely loses mail.

Should I disable DNSSEC before a DNS migration?

Yes, at the registrar: remove the DS record and wait for it to expire before switching. Re-enable signing in Bridge and publish the new DS once the new delegation is live.

See also the Bridge DNS setup guides.