Link to home
Start Free TrialLog in
Avatar of bsharath
bsharathFlag for India

asked on

Enable scavenging in ADS

Hi,

I have enabled scavenging on my domain.
1. Will i have any problems
2. What is scavenging do
3.What is the default time duration i have to enable.
4.Should i always keep it enabled
5.What are the no of entries that has to be in one scope of DNS.

regards
Sharath
 
ASKER CERTIFIED SOLUTION
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I have a question on this. Will scavening delete the NS records, and Name server host records? This is the only thing stopping me from activating it at this time.

Thank you

If the NS records are dynamically added. However, if they are you can expect the DC hosting the zone to update those records on a regular basis.

Would you like a little script to see if they are static or dynamic? You'll need to install PowerShell :)

For the record to be considered Stale the TimeStamp must be older than the total value of your Aging Intervals (14 days by default).

Chris
$ServerName = "anyDNSserver"
$ContainerName = "yourdomain.com"
 
Get-WMIObject -Computer $ServerName `
  -Namespace "root\MicrosoftDNS" -Class "MicrosoftDNS_NSType" `
  -Filter "ContainerName='$ContainerName'" `
 | Select-Object OwnerName, NSHost, `
  @{n="TimeStamp";e={ `
    if ($_.TimeStamp -eq 0) { "Static" } else { ((Get-Date("01/01/1601")).AddHours($_.TimeStamp)).ToLocalTime() }}}

Open in new window