Backup and Restore Zones in DNS Server running Windows Server 2022

Published: 08 December 2022
on channel: microsoft lab
1,597
5

Donate Us : paypal.me/MicrosoftLab

Backup and Restore Zones in DNS Server running Windows Server 2022

1. Prepare

DC21 : Domain Controller(Yi.vn)

2. Step by step : Backup and Restore Zones in DNS Server

DC21 : Backup and Restore Zones in DNS Server

Server Manager - Tools - DNS - DC21 # Check DNS role

Check foler DNS : C:\Windows\System32\DNS

Backup Zones in DNS Server : Export all Zone

Open Windows PowerShell, type :

dnscmd /zoneexport Yi.vn Yi.vn.txt + dnscmd /zoneexport _msdcs.Yi.vn _msdcs.Yi.vn.txt

Delete Yi.vn zone - Right-Click Yi.vn zone - Delete - Yes - Yes

Restore Yi.vn zone deleted :

Right-Click 'Forward Lookup Zones' - New Zone... - Zone Type : choose 'Primary zone', uncheck 'Store the zone in...'

Zone name : Yi.vn - Zone File : choose 'Use this existing file:' : Yi.vn.txt

Dynamic Update : choose 'Allow both nonsecure and secure dynamic updates' - Finish

Update server data files :

Right-Click DC21 - All Tasks - Update Server Data Files

Right-Click DC21 - All Tasks - Restart

Right-Click Yi.vn - Properties - General tab - Change... - Tick 'Store the zone in Active Directory' - Dynamic Update : Secure only

------------------------------------------********************    / microsoftlab   ********************-------------------------------


Watch video Backup and Restore Zones in DNS Server running Windows Server 2022 online, duration hours minute second in high quality that is uploaded to the channel microsoft lab 08 December 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 1,597 times and liked it 5 visitors.