| 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.
Review all scope weights participating in the same policy rather than only the rejected value. The distribution settings must form a valid policy definition and should reflect the intended answer split 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
Looking for a different code? Search another status or error code.
