Windows Server 2016 Smart DNS (v)
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 in the previous article to configure the relevant features according to their needs, That today continues the editing of related records.
The introduction of the daily management of the records of the subnets, the subnets, and the subnets is described in the previous section, which are the basic, the most important or the strategy, so we introduce the strategy today:
Policy:
查看:get-DnsServerQueryResolutionPolicy -ZoneName "byssoft.com"
We found that only the approximate strategy, increased FL and TB will not be
So how do we look at the specifics of the policy:
NE is not equal to the meaning of
EQ is equal to the meaning of
With this command we can see that the matching FQDN is not equal to www.byssoft.com, e-colgoy.byssoft.com, g.byssoft.com will match the next policy
$policy = Get-DnsServerQueryResolutionPolicy -ZoneName "byssoft.com" -name "DefaultPolicy"$policy.criteria
Policy priority:
View: get-dnsserverqueryresolutionpolicy-zonename "byssoft.com"
The policy names the priority through Processingorder, and the
changes the priority:
For example, we're going to say the policy name is: Cnpolicy priority is adjusted to the lowest
Set-dnsserverqueryresolutionpolicy-name "Cnpolicy"-zonename "byssoft.com"-processingorder 4
The next step is to disable the policy
policy level is based on zone level, also has domain-level-based
disable-dnsserverpolicy-name "Cnpolicy"-zonename "byssoft.com"- Level zone
The next step is to enable the policy
enable-DnsServerPolicy -name "CNPolicy" -ZoneName "byssoft.com" -level zone
Finally, we're talking about the increase in strategy:
Add-DnsServerQueryResolutionPolicy -Name "PolicyName" -Action ALLOW -ClientSubnet "eq,CNSubnet" -ZoneScope "CNSubnetScope,1" -ZoneName "byssoft.com"
Deletion of the policy:
remove-DnsServerQueryResolutionPolicy -Name "PolicyName" -Action ALLOW -ClientSubnet "eq,CNSubnet" -ZoneScope "CNSubnetScope,1" -ZoneName "byssoft.com"
Changes to the policy:
set-DnsServerQueryResolutionPolicy -Name "DefaultPolicy" -ZoneScope "byssoft.com,1" -FQDN “ne,www.byssoft.com,e-cology.byssoft.com” -ZoneName "byssoft.com"
Windows Server 2016 Smart DNS (v)