DNS database question

  • Thread starter Thread starter Paul Lawrence
  • Start date Start date
P

Paul Lawrence

Having inherited a DNS zone that predates me by multiple years I was posed a
question by my fearless leader. "I need to know how many static versus
dynamic entries we have in DNS."

We do have scavenging set so my first thought was just to run some type of
report that would show me all the entries and their dates they have set for
scavenging. Now the hard part...is there a way to do this? Perhaps a 3rd
party app or script that can dump the data to a text or Excel file? Any
help would be appreciated.


Paul
 
Found my own answer. DNSCMD

dnscmd servername /Enumrecords zonename @ /continue >c:\dnslist.txt

Replace servername with name of DNS server
Replace zonename with the name of the DNS zone you wish to query. /continue
is needed on larger DNS zones.

Paul
 
Back
Top