How do you back up DNS records before a domain transfer?

November 13, 2026 4 answers
Asked by Cavrick.7

I'm taking over domains and DNS for clients, and manually copying large sets of records is getting tedious. Is there a reliable way to back up the records, including subdomains, before moving them?

Answers

!align+the~coat_hanger

Ask the current DNS provider or administrator for a full zone file export. Save that as your backup, then import it at the new DNS provider if the provider supports it. That avoids typing out a hundred records and gives you something concrete to check against.

After the import, compare the new zone with the export. A small PowerShell, Python, or shell script could help with the comparison if you're doing this regularly. Check the new authoritative nameservers before changing the domain's nameserver delegation.

Selnor:

Making the export a required part of the migration checklist is a good idea, even when the domain itself is also being transferred.

Reply to this answer
Lurby

Be wary of tools that discover records by querying DNS. They can check common names, but they can't reliably find every obscure subdomain, and wildcard records can make the results misleading. A scan is useful as a cross-check, not as a complete backup.

A normal DNS query won't hand you the whole zone. If you can't access an export, ask the current provider or administrator for one rather than assuming a scan found everything.

Reply to this answer
unhurriedly_valid

Screenshots from the current DNS dashboard are a fallback when an export isn't available, but they can be awkward for long records like DKIM. Make sure the full values are captured, not just what fits on screen.

This is also a chance to review mail records. Check whether SPF still authorizes services that should be sending mail, and consider generating new DKIM records where appropriate rather than blindly carrying everything over.

m5!cork_827:

Coordinate any DKIM changes with the mail service. Removing an old key before the replacement is in use could disrupt mail authentication.

Reply to this answer
s9.ledgerless

Separate the registrar transfer from a DNS hosting move. If you're only changing the registrar and keeping the same authoritative nameservers, you may not need to recreate the zone at all. Still keep a backup and verify the nameserver settings during the transfer.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions