Reverse DNS records

I am trying to clean up the DNS reverse records, in our test environment.  
Can anyone make any suggestions on the best way to do this.

Keep in mind this is a test environment.
How can I tell if reverse DNS records are old and no longer needed etc....
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Enable scavenging Make sure to statically add reverse records for static IPs are assigned making sure not to check that it is expiring.  Usually the client or the DHCP server will record their reverse when the ip is allocated.

Reverse DNS internally is not that important, .......
Will SzymkowskiSenior Solution ArchitectCommented:
When you remove A Host records it will also remove the reverse record as well that it is associated with.

zero000koolAuthor Commented:
Is there a powershell one line command to run to let me know the oldest PTR (reverse lookup) record.  So I can go by that and see which ones to remove.

The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

Not sure, but the following might be the start point to get to the point ...

The below is a reference, search for "powershell wmi ad DNS"
Get-WmiObject -namespace "root\MicrosoftDNS" -Credential DnsServer\Administrator -ComputerName DnsServer -list

Is your reverse zone defined as ad integrated?
zero000koolAuthor Commented:
Yes it is AD integrated.

Is there a one line command powershell to give me starting with the oldest DNS record working down by date.
Oldest at the top and recent at the bottom.

Sorry, got involved with something else, and could not get to the powershell code reference to display...

try the following instead of powershell
dnscmd DNSSERVER /zoneprint <reverse DNS zone>
Lets say your IPs are on the (
dnscmd DNSSERVER /ZonePrint
this will include the aging data you are looking for.
Those that have [Aging:] are dynamically added.

If you have a windows DHCP server, its configuration could be set on the DNS tab to add and remove records when the lease expires.......

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.