How to Export and Back Up DNS Records
Export your DNS records before any migration or provider switch: methods for every major provider and a manual fallback.
Why export before changes
- A backup lets you restore records instantly if a migration goes wrong.
- It captures verification tokens and DKIM keys you might otherwise lose.
- It’s the reference document for rebuilding the zone at a new provider.
Export methods by provider
| Cloudflare | Export button in DNS, Records (downloads a BIND zone file) |
| Route 53 | Console: hosted zone, Export (or AWS CLI list-resource-record-sets) |
| GoDaddy | No native export: screenshot the records table or use DNS lookup to capture values |
| Namecheap | No native export: use Advanced DNS page or our record lookup per type |
| Manual fallback | Run a record lookup for each type (A, MX, TXT, CNAME...) and save the output |
What to include in your backup
- All record types: A, AAAA, CNAME, MX, TXT (SPF, DKIM, DMARC), NS, CAA.
- TTL values: they matter for the migration window.
- Priority values for MX and SRV records.
- The nameserver set at the registrar (delegation, not just the zone).
Frequently asked questions
How often should I export DNS records?+
Before any planned change, after any provider switch, and quarterly as a routine backup for business-critical domains.
Can I import an exported zone file?+
Yes: BIND-format zone files import into most providers (Cloudflare, Route 53). Format-specific exports may need conversion.
What if I lose my DKIM keys?+
Regenerate them from your email provider (they create new key pairs), then update the DNS record. Old mail signed with the old key will fail until the new one propagates.
Is there a tool to capture all records at once?+
Yes: our all-in-one record lookup queries every type in one pass. Screenshot or copy the output as your backup.
Should I back up nameservers too?+
Yes: note which nameservers your registrar points at. This delegation is separate from the zone records.
How do I restore records after a mistake?+
Use your export as a reference and re-create the records in your DNS panel. Verification with the record lookup confirms restoration.
Related
Last verified: 2026-10-28