Forum Discussion
“Use DNS Policy for Geo-Location Based Traffic Management with Primary-Secondary Deployments” error
Error in document content:https://docs.microsoft.com//windows-server/networking/dns/deploy/primary-secondary-geo-location
I follow the order of the article, and when you perform the final step of configuring the DNS policy, you find the following error:
PS C:\Users\Administrator> Get-DnsServerQueryResolutionPolicy -ZoneName "basehome.com.cn" -ComputerName "primary-dns"
Name ProcessingOrder IsEnabled Action
ChengduPolicy 1 True Allow
BeijingPolicy 2 True Allow
RestOfWorldPolicy 3 True Allow
PS C:\ Users \ Administrator> Get-DnsServerQueryResolutionPolicy -ZoneName“basehome.com.cn” - ComputerName“Primary-DNS”| Add-DnsServerQueryResolutionPolicy -ZoneName“basehome.com.cn”
Add-DnsServerQueryResolutionPolicy:Parameter error。
Location Line: 1 characters: 94
- ... mary-DNS“| Add-DnsServerQueryResolutionPolicy -ZoneName”basehome.co ...
- CategoryInfo:InvalidArgument:(PS_DnsServerQueryResolutionPolicy:root / Microsoft / ...
esolutionPolicy )[ Add-DnsServerQueryResolutionPolicy],CimException - FullyQualifiedErrorId:WIN32 87,Add-DnsServerQueryResolutionPolicy
- CategoryInfo:InvalidArgument:(PS_DnsServerQueryResolutionPolicy:root / Microsoft / ...