Windows Server 2016智能DNS(六)

  

Windows Server 2016智能DNS(六)
我们前面几篇文章介绍了如何Windows Server 2016智能DNS的相关配置介绍,今天继续介绍Windows Server 2016智能DNS的配置管理,前面一篇我们介绍了根据自己的需求来配置相关功能,那今天继续介绍相关记录的编辑操作。
前面介绍的是子网,子网区域,及子网区域的记录进行的日常管理介绍,这些都是基本,最主要的还是策略,所以我们今天介绍策略的介绍:
政策:
<代码>查看:get-DnsServerQueryResolutionPolicy -ZoneName " byssoft.com "
 Windows Server 2016智能DNS(六)
我们发现只能查看策略的大概,增加fl及结核后都是不行
那我们如何查看策略的具体内容:
东北是不等于的意思
情商是等于的意思
通过这条命令我们就可以看的出,匹配FQDN不等于www.byssoft.com, e-colgoy.byssoft.com, g.byssoft.com就会匹配下一条策略

  
 <代码> $政策=Get-DnsServerQueryResolutionPolicy -ZoneName“byssoft.com”- name“DefaultPolicy”
  美元policy.criteria  
  

 Windows Server 2016智能DNS(六)”> <br/>策略的优先级:<br/>查看:<代码> get-DnsServerQueryResolutionPolicy -ZoneName
策略通过ProcessingOrder来命名优先级,
 Windows Server 2016智能DNS(六)”> <br/>更改优先级:<br/>比如我们要讲策略名为:CNPolicy的优先级调成最低<br/> <代码> Set-DnsServerQueryResolutionPolicy - name
 Windows Server 2016智能DNS(六)”> <br/>接下来就是禁用策略<br/>策略的级别有基于区域级别的,也有基于域级别的<br/> <代码> Disable-DnsServerPolicy - name
 Windows Server 2016智能DNS(六)

  

 Windows Server 2016智能DNS(六)”> <br/>接下来就是启用策略<br/> <代码> enable-DnsServerPolicy - name
 Windows Server 2016智能DNS(六)”> <br/> <img src=
策略的删除:
<代码> remove-DnsServerQueryResolutionPolicy - name“PolicyName”动作片让-ClientSubnet“情商,CNSubnet -ZoneScope“CNSubnetScope 1”-ZoneName " byssoft.com "
删除所有策略:
<代码> Get-DnsServerQueryResolutionPolicy -ZoneName“byssoft.com”| remove-DnsServerQueryResolutionPolicy -ZoneName " byssoft.com " force passthru
策略的修改:
<代码> set-DnsServerQueryResolutionPolicy - name " DefaultPolicy -ZoneScope“byssoft.com 1”fqdn ne, www.byssoft.com, e-cology.byssoft.com“-ZoneName " byssoft.com "

Windows Server 2016智能DNS(六)