Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Windows Server 2016 creates a local data DNS service

2025-01-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Windows Server 2016 creates a local data DNS service

Our previous articles introduced the configuration management of Windows Server 2016 intelligent DNS. Today we mainly introduce Windows Server 2016 to create a local data DNS service. When it comes to local data, people generally think that this is unreasonable, but local data is still useful for some special cases. The biggest disadvantage of local data is that it will not update data synchronously according to major DNS services. There are two ways to create a local data DNS service. The first is to create a secondary zone. After synchronizing the data, the local DNS service is created through the synchronized data file. The other way is to export the configuration file of the primary DNS server, and then create the primary zone locally through the configuration file. For more information, please see:

We first get the configuration file by creating a new secondary DNS, and then create a local DNS service through the configuration file

First of all, we have to send the zone on the primary DNS server, otherwise we can't get the data by creating the secondary zone.

Once enabled, we need to install the DNS service on the new DNS service, and then create a new zone

Once again, we use Powershell to install from the DNS server

Install-windowsfeature RSAT-DNS-SERVER,DNS

After the installation is complete, we open the DNS manager

New area

Select to create a secondary area

Enter the DNS zone name-domain name

Select the primary server IP address

Synchronous completion

After we check the synchronization, there is a configuration file for byssoft.com.dns in c:\ WINDOWS\ SYSTEM32\ DNS\, which is all the configurations of DNS

We can open the file.

Then we back up the changed configuration file, byssoft.com.dns

Delete secondary area

Create a new major area

Scheduled DNS domain name

Use an existing profile

Creation completed

Next, let's use the second method:

In fact, the second method is recommended.

We first need to export the record on the main server

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

Exported file

We can check

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

Then, in the same way as above, select the configuration file to complete the wizard

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report