Start Immediate Scavenging of Stale Resource Records
Applies To: Windows Server 2008
You can use this procedure to immediately remove stale Domain Name System (DNS) resource records. You can complete this procedure using either the DNS Manager snap-in or the dnscmd command-line tool.
Membership in Administrators, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (https://go.microsoft.com/fwlink/?LinkId=83477).
Starting immediate scavenging of stale resource records
Using the Windows interface
Using a command line
To start immediate scavenging of stale resource records using the Windows interface
Open DNS Manager. To open DNS Manager, click Start, point to Administrative Tools, and then click DNS.
In the console tree, right-click the applicable DNS server, and then click Scavenge Stale Resource Records.
When you are asked to confirm that you want to scavenge all stale resource records on the server, click OK.
To start immediate scavenging of stale resource records using a command line
Open a command prompt. To open an elevated Command Prompt window, click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
At the command prompt, type the following command, and then press ENTER:
dnscmd <ServerName> /StartScavenging
Parameter | Description |
---|---|
dnscmd |
The command-line tool for managing DNS servers. |
<ServerName> |
Required. 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 (.) |
/StartScavenging |
Required. Initiates resource record scavenging. |
To view the complete syntax for this command, at a command prompt, type the following command, and then press ENTER:
dnscmd /StartScavenging /help