In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Windows Server 2016 Intelligent DNS (5)
Our previous articles introduced how to configure Windows Server 2016 intelligent DNS, and today we continue to introduce the configuration management of Windows Server 2016 intelligent DNS. Before, we introduced how to configure relevant functions according to our own requirements, but how do we modify the relevant configuration commands? Of course, since there is creation, there must be relevant editing and deletion commands, so today I will talk about the editing operation of the relevant records.
The first is the subnet:
First check the subnet
Get-DnsServerClientSubnet
If we add and delete existing subnets, we have learned the parameters.
-action add is adding subnets.-action remove is deleting subnets.
The first is to increase:
Set-dnsserverclientsubnet-name "USSubnet"-action add-IPv4Subnet "192.168.7.0swap 24"
And then delete.
Set-dnsserverclientsubnet-name "USSubnet"-action remove-IPv4Subnet "192.168.7.0swap 24"
Of course, the command to delete the subnet is simple.
Remove-DnsServerClientSubnet-Name "SubnetName"
two。 And then there's the DNS area.
View: Get-DnsServerZoneScope-ZoneName "byssoft.com"
Add: add-DnsServerZoneScope-ZoneName "ZoneName" Delete: remove-DnsServerZoneScope-ZoneName "ZoneName"
3.DNS area record:
First check
Get-DnsServerResourceRecord-ZoneName "byssoft.com"-zonescope "USZoneScope"
Add:
Diting: modifying IP addr
$Record = Get-DnsServerResourceRecord-ZoneName "byssoft.com"-Name "g"-ZoneScope "USZoneScope" $NewRecord = $Record.Clone () $NewRecord.RecordData.IPv4Address = '192.168.20.20'Set-DnsServerResourceRecord-ZoneName byssoft.com-ZoneScope "USZoneScope-OldInputObject $Record-NewInputObject $NewRecord
Delete:
Remove-DnsServerResourceRecord-ZoneName "byssoft.com"-RRType "A"-name "g"-RecordData "192.168.20.20"-ZoneScope "USZoneScope"
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.