What does Windows error code 9958 (DNS_ERROR_INVALID_SCOPE_NAME) mean?

 
Previous Next
DNS_ERROR_ZONESCOPE_FILE_WRITEBACK_FAILED DNS_ERROR_SCOPE_DOES_NOT_EXIST

DNS_ERROR_INVALID_SCOPE_NAME

DNS_ERROR_INVALID_SCOPE_NAME indicates an invalid name for a DNS policy scope. This may refer to a server-level scope or another policy scope, not necessarily a zone scope.

What to verify

  • Confirm which scope type the cmdlet or API expects before reusing a zone-scope name.
  • Use names that meet DNS configuration conventions and are consistent across the relevant DNS servers.
  • List the existing scopes and policies to avoid a spelling or level mismatch.
Get-DnsServerQueryResolutionPolicy
Get-DnsServerQueryResolutionPolicy -ZoneName "example.com"
Get-DnsServerClientSubnet

Microsoft: DNS Policies overview

Microsoft: Get-DnsServerQueryResolutionPolicy

Microsoft: Get-DnsServerZoneScope


Looking for a different code? Search another status or error code.