This one could help.
https://www.informaticar.net/how-to-export-dns-zone-from-one-windows-server-and-import-to-another-non-ad-dns/
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
In my organization we are planning to migrate standalone DNS server from windows server 2012R2 to server 2022.
We are planning migrate to different domain with new computer name of targated server. While transferring the zones or through backup and restore method it took the old server name and domain. Could you please assist how can I migrate our standalone DNS?
Or is there any method to remove old FQDN name from target DNS server?
This one could help.
https://www.informaticar.net/how-to-export-dns-zone-from-one-windows-server-and-import-to-another-non-ad-dns/
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
Hi,
Depending on your specific needs the basic process is:
The above is for non-AD integrated domains only.
I recommend you create a test Server 2022 VM with DNS server running in it and use that to practice with and verify your process works.
IMPORTANT: Make certain that you are comfortable (practice!) with rolling back the changes to the target if you find something is wrong. For example, your rollback procedure might be to stop DNS Server, rename DNS Server reg key, import backup .reg file, rename Dns folder, copy backup Dns folder, Start DNS Server service. Test rolling back in your test VM and check that there are no problems with your rollback process. Also take a full backup and snapshot of the target VM just in case.
I've used above technique in the past for 1,200+ domains on older version of Windows Server. In my case I wrote custom program to create all of the .reg entries, .dns files with A, SOA, NS, MX, CNAME records. Since I wrote out all of the steps it appears like a lot of work, but in reality it is not that difficult.
-TP