Windows Server 2016 creates the local data DNS service

Source: Internet
Author: User

Windows Server 2016 creates the local data DNS service
Our previous articles describe the configuration management of Windows Server 2016 intelligent DNS, and today we mainly introduce the creation of local data DNS service for Windows Server 2016, which is generally considered unreasonable by local people. But the local data for some special situation is still more useful, the biggest disadvantage of local data is not to synchronize with the primary DNS service to update the data, there is no more nonsense, to go back, to create the local data DNS service in two ways, the first: to create a secondary zone, after synchronizing the data, The local DNS service is created by synchronizing the data files, and another method is to export the configuration file of the primary DNS server and then create the primary zone locally through the configuration file. specifically see below:
We first obtain the configuration file by creating a new secondary DNS and then create the local DNS service through the configuration file
We first have to transfer the zone on the primary DNS server, otherwise the creation of the secondary zone will not get the data

When turned on, we need to install the DNS service on the new DNS service and then create a new zone.
We'll install the DNS server again through PowerShell
install-windowsfeature RSAT-DNS-SERVER,DNS

After the installation is complete, we open the DNS Manager
New Zone

Select Create secondary Zone

Enter DNS zone name-domain

Select the primary server IP address

Synchronization complete

After we view the synchronization, there is a Byssoft.com.dns configuration file next to C:\WINDOWS\SYSTEM32\DNS\, which is the configuration file for all DNS

We can open the file

然后我们备份改配置文件,byssoft.com.dns
Delete a secondary zone

New primary Zone

Fixed to DNS domain name

Using an existing configuration file

Create complete

Next we use the second method:
In fact, the second method of recommendation
We first need to export the records on the primary server

dnscmd /ZoneExport byssoft.com ZoneExport.txt   dnscmd /ZoneExport [Name of DNS Zone] ZoneExport.txt


The exported file

We can view

Then we need to rename the file to the DNS service format and then copy it to the slave server and export it locally using the renamed configuration file.

Then follow the same procedure as above, select the profile to complete the wizard

Windows Server 2016 creates the local data DNS service

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.