DNS: Zone <zone name> scavenging servers should host the zone
Updated: October 15, 2010
Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012
This topic is intended to address a specific issue identified by a Microsoft Baseline Configuration Analyzer or Best Practices Analyzer scan. You should apply the information in this topic only to computers that have had the DNS Microsoft Baseline Configuration Analyzer or DNS Best Practices Analyzer run against them and are experiencing the issue addressed by this topic. For more information about best practices and scans, see Best Practices Analyzer.
Operating System |
Windows Server 2008, Windows Server 2008 R2, Windows Server 2012 |
Product/Feature |
DNS |
Severity |
Warning |
Category |
Configuration |
The DNS server is listed as a scavenging server for zone, but does not host this zone.
A DNS server that is listed as a scavenging server for the zone is not responding to DNS queries for the zone.
The server cannot scavenge records in the zone.
Errors in DNS resolution might occur if no servers are available to scavenge resource records in the zone.
Remove the server from the list of scavenging servers for the zone.
To repair this condition, remove the server from the list of scavenging servers. Alternatively, you can configure the server to host the zone. By default, all servers that host an Active Directory-integrated DNS zone can scavenge records in the zone if scavenging is enabled. To configure the list of scavenging servers for a zone, you must set the ZoneResetScavengeServers parameter using the dnscmd command, a command-line based tool for administering Windows DNS servers. Scavenging must be enabled on both the DNS server and the zone affected by this operation.
Tip
To display the current list of scavenging servers for the zone, use dnscmd [ServerName] /ZoneInfo ZoneName . The list of scavenging servers is displayed in the output below Scavenge Servers.
Membership in Administrators, or equivalent, is the minimum required to complete these procedures. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (https://go.microsoft.com/fwlink/?LinkId=83477).
Open an elevated command prompt.
Type the following command, and then press ENTER:
dnscmd [<ServerName>] /zoneresetscavengeservers <ZoneName> [ServerIPs]
Value | Description |
---|---|
dnscmd |
The command-line tool for managing DNS servers. |
<ServerName> |
Specifies the DNS host name of the DNS server. You can also type the IP address of the DNS server. To specify the DNS server on the local computer, you can also type a period (.) or omit the host name. |
/zoneresetscavengeservers |
Required. Configures the list of servers that are allowed to scavenge the zone. |
<ZoneName> |
Required. Specifies the zone to be configured. |
<ServerIPs> |
Optional. Lists the IP addresses of the servers that can scavenge records in the zone. If this parameter is omitted, then all servers hosting this zone can scavenge it. |
dnscmd dnssvr1.contoso.com /zoneresetscavengeservers test.contoso.com 10.0.0.1 10.0.0.2