Exporting DNS Records as a CSV File
Last Updated: March 2026
2 min read
Many domain registrars offer a way to export your DNS records into a CSV file. This is useful when replicating your DNS on other nameservers, making backups, or consolidating information.
How to Export DNS Records
- Log in to your domain registrar account.
- Navigate to your domains list.
- Click on the domain name you wish to export records for.
- Navigate to the DNS Management or Manage DNS Records page.
- Look for an Export DNS Records or Export CSV button (usually located near the top of the DNS records list).
- Click the export button. This will start the download, which you can then save onto your computer or device.
What’s Included in the CSV Export
A typical DNS CSV export includes the following columns:
| Column | Description |
|---|---|
| Type | The DNS record type (A, AAAA, CNAME, MX, TXT, etc.) |
| Host | The hostname or subdomain |
| Answer | The record value (IP address, domain, text string, etc.) |
| TTL | Time to Live in seconds |
| Priority | Priority value (for MX and SRV records) |
Why Export DNS Records?
- Migration: Moving your domain to a new registrar or DNS provider — having a CSV makes it easy to recreate all records.
- Backup: Keeping a record of your DNS configuration in case you need to restore it.
- Documentation: Maintaining records of your domain’s DNS setup for reference.
- Auditing: Reviewing all DNS records to ensure nothing is misconfigured or outdated.
Tips for Working with DNS CSV Files
- Open the CSV file in a spreadsheet application (Excel, Google Sheets, LibreOffice Calc) for easy viewing and editing.
- Before making DNS changes, always export a backup first.
- When importing records to a new provider, check their specific CSV format requirements — column names and order may differ.
- Some providers may not support CSV import. In that case, you’ll need to manually recreate records using the exported data as reference.
Tags:
dns
export
csv
backup
migration
domains