| Previous | Next |
| DNS_ERROR_POLICY_LOCKED | DNS_ERROR_POLICY_INVALID_NAME |
DNS_ERROR_POLICY_INVALID_WEIGHT
DNS_ERROR_POLICY_INVALID_WEIGHT means the weight supplied for one of the policy scopes is not valid. Scope weights are used when a policy distributes answers between eligible scopes.
What to verify
- Check the scope-and-weight pairs in the policy for missing, malformed, or unsupported values.
- Confirm that every referenced zone scope exists in the target zone.
- Use an explicit, documented traffic-distribution design instead of treating weight as a DNS record priority.
Get-DnsServerZoneScope -ZoneName "example.com"
Get-DnsServerQueryResolutionPolicy -ZoneName "example.com"
Microsoft: Add-DnsServerQueryResolutionPolicy
Microsoft: DNS Policy for geo-location traffic
Microsoft: Get-DnsServerZoneScope
Looking for a different code? Search another status or error code.