BIND zone file Amazon Route 53
Import a zone file into Amazon Route 53.
16 record types move as they are. 1 things work differently at Route 53, and the preview shows exactly which of your records they affect.
Free preview. Read-only. Nothing changes until you apply.
Zone file to Route 53 DNS migration differences
Generated from the same provider capability data the migration engine uses.
Moves as-is
- A
- AAAA
- CNAME
- MX
- TXT
- NS
- SRV
- CAA
- PTR
- DS
- HTTPS
- SVCB
- TLSA
- SSHFP
- NAPTR
- SPF
LOC, CERT, URI, DHCID, DNAME, OPENPGPKEY, RP, SMIMEA aren't available
A typical Zone file zone at Route 53
Example records for example.com. Open any flagged row to read why it changed.
Zone file Route 53
- ExactA@
192.0.2.60
- ExactMX@
10 mx1.mail.example.net. +1
- ExactTXT@
"v=spf1 include:_spf.example.net -all"
- ExactCAA@
0 issue "letsencrypt.org"
- ExactTXT_dmarc
"v=DMARC1; p=reject; rua=mailto:dmarc@example.com"
- ExactSRV_sip._tls
100 1 443 sip.example.net.
- ExactAfast
192.0.2.61
- ExactSSHFPssh
4 2 9d97e98f8af710c7e4f3b5b0b1f1b8c0c7e2a4b8c5a0e3b1f8d2c7a9b0e1f2a3
- ExactCNAMEwww
example.com.
| Status | Type | Name | At Route 53 | TTL | Details |
|---|---|---|---|---|---|
| Exact | A | @ |
| 1h | |
| Exact | MX | @ |
| 1h | |
| Exact | TXT | @ |
| 1h | |
| Exact | CAA | @ |
| 1h | |
| Exact | TXT | _dmarc |
| 1h | |
| Exact | SRV | _sip._tls |
| 1h | |
| Exact | A | fast |
| 30s | |
| Exact | SSHFP | ssh |
| 1h | |
| Exact | CNAME | www |
| 1h |
Set up the connections
Use the provider-specific credential guides before you preview, then keep the migration checklist beside the cutover plan.
How the move works
- 1
Connect Zone file
Paste or upload the zone file you want to move.
- 2
Connect Route 53
Connect Route 53 (Cross-account IAM role with an external ID). Write access is only used when you apply.
- 3
Review the preview
Check every record marked Review or Unsupported. Each one explains what changes and why.
- 4
Apply to Route 53
We snapshot the Route 53 zone, write in batches, and leave Zone file untouched.
- 5
Verify
We query Route 53's own nameservers for every record and compare the answers before you switch.
- 6
Switch nameservers
Lower TTLs a day or two ahead, remove any DS record if DNSSEC is on, then point the domain at the new nameservers at your registrar.
Good to know about Zone file
- Zone files can't express provider features like proxying, alias records or routing policies.
Access we need: No credentials. Everything stays in your browser until you choose to save it.
Good to know about Route 53
- Alias records can only target AWS resources or records in the same hosted zone.
- Weighted, latency, geolocation and failover routing are Route 53 features. Most other providers can't reproduce them.
- Apex CNAMEs are not allowed. Use an alias record instead.
Access we need: route53:ListHostedZones, GetHostedZone, ListResourceRecordSets for the preview; ChangeResourceRecordSets and CreateHostedZone to apply.
Migration notes for Zone file to Route 53
Reviewed
A BIND zone file maps cleanly onto Route 53's standard record types; the file has no aliases or routing policies to lose, but Route 53 still rejects any apex CNAME in it.
Export at Zone file
- No source credentials: you paste or upload the RFC 1035 zone file exported from your current DNS host.
- A zone file only carries standard records, so nothing Route 53-specific (aliases, weighted or latency sets) exists to translate — the records move as written.
Import at Route 53
- At Route 53 the adapter assumes a cross-account IAM role and applies with route53:ChangeResourceRecordSets and route53:CreateHostedZone, waiting for the change to reach INSYNC via route53:GetChange.
- Route 53 also supports importing a zone file directly when you create a hosted zone, which creates standard records with the simple routing policy.
Watch for
- Route 53 does not allow a CNAME at the zone apex, so an apex CNAME in the file cannot be created as-is and the preview flags it for static A/AAAA records.
- Route 53's TTL minimum is 0, so TTLs in the file pass through unchanged.
- TXT and SPF values are quoted when written to Route 53; the preview shows the exact stored form.
- If you later enable DNSSEC at Route 53, it caps record TTLs at one week and needs a DS record published at the registrar.
Example
A zone-file line www 3600 IN CNAME example.com. is written at Route 53 unchanged as www.example.com CNAME example.com.. An apex @ IN CNAME target.example.net. cannot be created at the Route 53 apex and is flagged for static A/AAAA records instead.
Rollback
Rollback reverses only DNSMigrator's writes at Route 53 by re-planning against its live state; the source zone file is never modified and remains available to re-import.
Questions
Will there be downtime moving from Zone file to Route 53?
Not if both providers serve the same answers during the switch. The records are copied to Route 53 and verified before you change nameservers, so resolvers get the same answer from either side while caches expire.
Do I have to delete anything at Zone file?
No. Preview, apply and rollback never write to Zone file; the only optional change there is lowering TTLs before cutover. Keep the old zone for a week after cutover so you can switch back if anything looks wrong.
What about DNSSEC?
If DNSSEC is on, remove the DS record at your registrar and wait for it to expire before switching nameservers. Then enable DNSSEC at Route 53 and publish its new DS record. The cutover plan walks you through each step.
Ready to see your own zone?