dump cached lookups to flat file?

P

P. Thompson

Is there any way to dump the db of cached lookups in Windows DNS to a flat
file? Like many MS Gui tools, DNS plug in seems utterly useless once you
get an inch off the beaten path.

Otherwise, what files does the DNS keep this information stored in in its
native format?
 
D

Dean Wells [MVP]

This may go some way to providing what you want -

dnscmd <nameserver FQDN or address> /zoneprint .

DNSCMD is provided as part of the Support Tools on your Windows
installation media.
 
P

P. Thompson

This may go some way to providing what you want -

dnscmd <nameserver FQDN or address> /zoneprint .


Thanks for the tip!
dnscmd <server> /zoneprint ..Cache
did the trick!
 
D

Dean Wells [MVP]

The output of the DNSCMD syntax you used is near identical to that of
the one I supplied, is there something specific that I'm missing that
differentiates the two?
 
P

P. Thompson

The output of the DNSCMD syntax you used is near identical to that of
the one I supplied, is there something specific that I'm missing that
differentiates the two?

I had stumbled across dnscmd and had followed the syntax of the dnscmd
help just prior to seeing your post. Effectively, however, both solutions
seem equal:

dnscmd /zoneprint /?
Usage: DnsCmd <ServerName> /ZonePrint [<ZoneName>] [/Detail]
<ZoneName> -- name of the zone (use ..Cache for DNS server cache)
/Detail -- explicit RPC node contents
 

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