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