In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Windows Server 2016 Intelligent DNS (6)
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. In the previous article, we introduced how to configure relevant functions according to our own needs, and today we continue to introduce the editing of related records.
The previous introduction is the daily management of the records of subnets, subnet areas, and subnet areas. These are the basics, and the most important thing is the policy, so we will introduce the policy today:
Policy:
View: get-DnsServerQueryResolutionPolicy-ZoneName "byssoft.com"
We found that we can only check the outline of the strategy, but not with the addition of fl and tb.
So how do we look at the details of the strategy:
The meaning of ne is not equal to
Eq means equal to
From this command, we can see that matching FQDN is not equal to www.byssoft.com, e-colgoy.byssoft.com, and g.byssoft.com will match the next policy.
$policy = Get-DnsServerQueryResolutionPolicy-ZoneName "byssoft.com"-name "DefaultPolicy" $policy.criteria
Priority of the policy:
View: get-DnsServerQueryResolutionPolicy-ZoneName "byssoft.com"
Policies name priorities through ProcessingOrder
Change priority:
For example, we are going to talk about the strategy called: CNPolicy has the lowest priority.
Set-DnsServerQueryResolutionPolicy-name "CNPolicy"-ZoneName "byssoft.com"-processingOrder 4
The next step is to disable the policy
Policy levels range from Zone-based to domain-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 are talking about the increase in strategy:
Add-DnsServerQueryResolutionPolicy-Name "PolicyName"-Action ALLOW-ClientSubnet "eq,CNSubnet"-ZoneScope "CNSubnetScope,1"-ZoneName "byssoft.com"
Deletion of policy:
Remove-DnsServerQueryResolutionPolicy-Name "PolicyName"-Action ALLOW-ClientSubnet "eq,CNSubnet"-ZoneScope "CNSubnetScope,1"-ZoneName "byssoft.com"
Delete all policies:
Get-DnsServerQueryResolutionPolicy-ZoneName "byssoft.com" | Remove-DnsServerQueryResolutionPolicy-ZoneName "byssoft.com"-Force-PassThru
Modification of policy:
Set-DnsServerQueryResolutionPolicy-Name "DefaultPolicy"-ZoneScope "byssoft.com,1"-FQDN "ne,www.byssoft.com,e-cology.byssoft.com"-ZoneName "byssoft.com"
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.