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 Intelligent DNS (5)

2025-04-04 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.

Share To

Servers

Wechat

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

12
Report