Bridge CDN
On this page

Before you start

Three things decide how much work it takes to migrate from Route 53.

Check these first:

  • Alias records. Route 53 aliases point a name at CloudFront, a load balancer, an S3 website endpoint or another record. They have no standard form in a zone file, so each one needs a decision.
  • Routing policies and health checks. Weighted, latency, geolocation, geoproximity, failover and multivalue answers have no equivalent in Bridge DNS. Bridge returns one record set to every resolver.
  • DNSSEC. If the hosted zone is signed, remove the DS record at your registrar and wait out its TTL before anything else. A stale DS breaks validation the moment Bridge starts answering.

A private hosted zone is internal VPC DNS. It isn't part of public resolution, so it stays in AWS.

Step 1: Export the hosted zone

The AWS documentation is direct about it: Route 53 doesn't support exporting records to a zone file. So a route 53 zone export always goes through a tool. The open-source cli53 writes standard zone-file syntax:

cli53 export example.com > example.com.zone

The AWS CLI works too, but it returns JSON, which you'd have to convert:

aws route53 list-resource-record-sets --hosted-zone-id Z0123456789EXAMPLE > example.com.json

For most people, cli53 is the shorter road to an export route 53 zone file you can actually paste.

Step 2: Clean the file

Open the export in a text editor and work through it top to bottom.

  1. Delete the SOA record and the apex NS records. Bridge DNS manages both. Leaving the ns-123.awsdns-45.com-style entries in would point the zone back at AWS.
  2. Rewrite every alias. cli53 marks them with a non-standard AWS ALIAS keyword, and no other DNS host accepts that line.
    • For a subdomain, a DNS-only CNAME to the target's hostname works, for example www CNAME d111111abcdef8.cloudfront.net.
    • For the apex, a CNAME isn't allowed. If your platform supplies an origin IP, use it for an A or AAAA record at the apex. See proxied vs DNS-only records for web traffic.
  3. Collapse routing policies. A weighted or geolocation name shows up several times with different values. Keep the one answer you want everyone to get. If traffic steering is essential, keep that logic in a load balancer, not in DNS.
  4. Set TTLs. Aliases carry no TTL of their own in Route 53. Leave the new records on Bridge Auto. Auto TTL resolves to 60 seconds for A, AAAA, and CNAME records and 120 seconds for every other record type.

Step 3: Import into Bridge DNS

Paste the cleaned file into the zone-file import in Bridge and compare the imported records with your inventory. The zone file import guide explains what to check.

A public DNS scan is the fallback if you can't run cli53. It only finds names that resolve publicly and that the scan guesses, so compare its result with the AWS console before trusting it.

Step 4: Compare both zones

Ask a Route 53 nameserver and a Bridge nameserver the same questions:

dig @ns-123.awsdns-45.com www.example.com A +short
dig @ns1.bb-ns.com www.example.com A +short

Do this for the apex, www, every MX, the SPF and DMARC TXT records, and each converted alias. A proxied name returns the Bridge edge address. That's expected, not a mismatch.

Step 5: Handle DNSSEC and switch nameservers

If Route 53 signed the zone, the DS should be gone by now. AWS also asks you to disable signing in the hosted zone and leave the KMS key alone until the DS TTL has passed.

Replace the four awsdns nameservers at your registrar with ns1.bb-ns.com, ns1.bb-ns.net and ns1.bb-ns.org. If the domain is registered through Route 53 Domains, the setting is in the Route 53 console under registered domains. Other registrars are covered in the nameserver change guide. Turn DNSSEC on in Bridge only after the new delegation is live; see enabling DNSSEC.

How to verify the cutover

Run dig example.com NS +trace and check that the TLD hands out the Bridge nameservers. For .com and .net, resolvers can keep the old delegation for up to 172,800 seconds, so some traffic still reaches Route 53 for two days. Keep the hosted zone unchanged during that window.

How to roll back

Put the four awsdns nameservers back at the registrar. The hosted zone is still there, so answers return to the old values as resolvers follow the delegation. Delete the hosted zone only after a quiet week. It costs little to keep, and it's your rollback.

Questions before you migrate from Route 53

Can I export a Route 53 zone file from the console?

No. AWS documents that Route 53 doesn't export records to a zone file. Use cli53, the AWS CLI with a JSON conversion, or a third-party exporter.

What happens to alias records when I move DNS from Route 53?

They don't transfer as-is. Rewrite each alias as a DNS-only CNAME on a subdomain, or as a proxied A record at the apex, because standard DNS has no alias type.

Does Bridge DNS support weighted or latency routing?

No. Bridge returns the same records to every resolver, with no routing policies or health checks. Keep one answer per name, or move the steering to a load balancer.

Do I need to turn off Route 53 DNSSEC before a route 53 dns migration?

Yes. Remove the DS record at the registrar, wait for its TTL, then disable signing in the hosted zone. Enable DNSSEC in Bridge after the new delegation is live.

How long does migrating from Route 53 take?

The export, cleanup and import usually take an hour for a typical zone. The delegation change then needs up to 48 hours for .com and .net, so keep the hosted zone running until it passes.

See also DNS migration.