DNS database question

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
 
P

Paul Lawrence

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top