HomeMicrosoftHow to Backup DNS Server in 2022 Server

How to Backup DNS Server in 2022 Server

In this article, you will learn how to Backup DNS server in 2022 Server. A domain name server/system or DNS, is the heart of everything we do, on the LAN and on the internet. It is the directory book that converts a name to an IP address and an IP address to a name. So we do not have to remember these things that describe websites, hostnames, and other resources. The server DNS is usually considered an important infrastructure component. Click here for more details

Backup DNS Server 2022

To create a DNS Windows Server 2022 backup,.
We will use dnscmd.exe with the PowerShell command to back up the zones to a text file, which is accessible for Windows Servers.
Second, we will delete DNS zones (jamiltech.local) from a server for creating a disaster.
In the next article, we will restore DNS zones (jamiltech.local) from a file that we backed up with the dnscmd command.
How to take a Windows server DNS backup to a text file with dnscmd PowerShell.

Log in to the domain controller server, run the Windows PowerShell app, and then enter the following commands to backup the DNS server:.

dnscmd DC2022 /ZoneExport jamiltech.local backup\jamiltech.local.dns.bkp
dnscmd DC2022 /ZoneExport _msdcs.jamiltech.local backup\_msdcs.jamiltech.local.dns.bkp

DC2022 is my DNS server name.

Backup DNS server PowerShell

The DNS backup copy (.txt file) will be stored in the backup directory.
“C:\Windows\System32\dns\backup”

Open Windows Explorer, and then open the C:\Windows\System32\dns\backup folder to verify the backup.

C:\Windows\System32\dns\backup

How to Delete DNS Zones via DNS Manager

Open DNS Manager, expand your DNS server (DC2022) node, and then expand Forward Lookup Zones.
Right-click on jamiltecc.local zone and then choose to delete.

DNS Manager

Choose Yes

Warning delete the DNS zone

Select yes again to delete the zone from the DNS server.

Warning remove DNS zones

Summary

By following the above steps, you are able to backup the DNS server. In the next article, we will learn how to restore DNS zones in a way that permits high availability for your DNS

Jamil
Jamilhttp://jamiltech.com
A Professional Technology Blog Writer | An energetic professional with more than 20+ years of rich experience in Technology, Planning, Designing, Installation, and Networking.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments

what is cryptocurrency and bitcoin on How to Backup and Restore IIS Configuration
경기광주출장안마 on How to Backup and Restore IIS Configuration
영등포출장마사지 on How to Backup and Restore IIS Configuration
Twalsu light mirror for vanity on How to Backup and Restore IIS Configuration
fitspresso analysis on How to Reset Microsoft 365 Password
historical landmarks tours for history buffs on How to Add Hyper-V Server Altaro VM Backup
9780443186882 PDF download on How to Migrate Active Directory 2012 to 2022
Shaik Mohammad Jaheer on How to Enable Night Light on Windows 11