Windows Server 2016 Intelligent DNS (iv)

Source: Internet
Author: User

Windows Server 2016 Intelligent DNS (iv)
Our previous articles describe how Windows Server 2016 intelligent DNS related configuration is described, and today continue to describe the configuration management of Windows Server 2016 Smart DNS, which we described earlier to configure the relevant features according to your needs. But how do we modify the configuration of the relevant commands? Of course, since the creation, there will certainly be related to the editing, deletion of the command, then today I would like to say the relevant record editing operations.

The first is the subnet:
First look at the subnets
Get-DnsServerClientSubnet

If the existing subnets are added and removed we have learned about the parameters

-action add 是增加子网-action remove是删除子网

The first is to increase:
set-dnsserverclientsubnet -name "USSubnet" -action add -IPv4Subnet "192.168.7.0/24"

Then the delete
set-dnsserverclientsubnet -name "USSubnet" -action remove -IPv4Subnet "192.168.7.0/24"

Of course, the command to delete a subnet is simple.
Remove-DnsServerClientSubnet -Name "SubnetName"
2. Then the DNS zone
查看:Get-DnsServerZoneScope -ZoneName "byssoft.com"

增加:add-DnsServerZoneScope -ZoneName "ZoneName"删除:remove-DnsServerZoneScope -ZoneName "ZoneName"

3.DNS Zone Record:
First view
Get-DnsServerResourceRecord -ZoneName "byssoft.com" -zonescope "USZoneScope"

Increase:

Edit: Modify IP Address

$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"

Windows Server 2016 Intelligent DNS (iv)

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.