Link to home
Start Free TrialLog in
Avatar of Len Kally
Len KallyFlag for United States of America

asked on

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....
Avatar of arnold
arnold
Flag of United States of America image

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, .......
When you remove A Host records it will also remove the reverse record as well that it is associated with.

Will.
Avatar of Len Kally

ASKER

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.

Thanks
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?
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.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America 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