Question : Track DNS zone/record creation

Track DNS zone/record creation
I wonder if there is a command line or another way to find when the DNS zone or record has been created.

Thanks

Answer : Track DNS zone/record creation

To find the creation date and time of an AD-integrated zone (this isn't pretty):
Open ADSI Edit (Start > Run > adsiedit.msc) on the DNS server.
Right-click on  "ADSI Edit" in the right pane (or go to the Action menu) and select "Connect to..."
In the "Connection Point" section, choose "Select or type a Distinguished Name or Naming Context."
Type the DN of the directory partition containing the zones and/or records for which you want the info (e. g., DC=DomainDNSZones, DC=domain, DC=local).
In the "Computer" section, leave the Default button selected and click OK.
Expand the connection you just made, expand the partition's name, and expand CN=MicrosoftDNS.
You should see the zones which exist in that directory partition.  Right-click the one you're after and select Properties.
Find the attribute named createTimeStamp.  Its value will tell you when the zone was created.  There's also an attribute named modifyTimeStamp that will tell you when the zone was last modified.

NOTE:  The createTimeStamp attribute actually tells when the zone was integrated with AD.  If the zone was AD-integrated from the time of its creation, this will tell you when it was created.  However, if you change the zone into a standard primary or secondary zone (non-AD-integrated), then change it back, this resets the value of createTimeStamp.

You can follow the same steps to find the creation timestamp of an individual record.  Instead of right-clicking on the zone and selecting Properties, simply click on the zone in the left pane of ADSI Edit, and the right pane will show the records it contains.  Right-click on a record, select Properties, and look for the same createTimeStamp attribute.
Random Solutions  
 
programming4us programming4us