Sign in with
Sign up | Sign in
Your question

dump cached lookups to flat file?

Last response: in Windows 2000/NT
Share
Anonymous
December 27, 2004 12:50:15 PM

Archived from groups: microsoft.public.win2000.dns (More info?)

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?

---
Lord, protect me from those to whom you speak directly
Leave the no-spam in, correct email address
Anonymous
December 27, 2004 2:18:23 PM

Archived from groups: microsoft.public.win2000.dns (More info?)

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.

--
Dean Wells [MVP / Directory Services]
MSEtechnology
[[ Please respond to the Newsgroup only regarding posts ]]
R e m o v e t h e m a s k t o s e n d e m a i l

P. Thompson wrote:
> 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?
>
> ---
> Lord, protect me from those to whom you speak directly
> Leave the no-spam in, correct email address
Anonymous
December 27, 2004 7:59:06 PM

Archived from groups: microsoft.public.win2000.dns (More info?)

On Mon, 27 Dec 2004, Dean Wells [MVP] wrote:

> 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!

---
Lord, protect me from those to whom you speak directly
Leave the no-spam in, correct email address
Related resources
Anonymous
December 27, 2004 7:59:07 PM

Archived from groups: microsoft.public.win2000.dns (More info?)

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?

--
Dean Wells [MVP / Directory Services]
MSEtechnology
[[ Please respond to the Newsgroup only regarding posts ]]
R e m o v e t h e m a s k t o s e n d e m a i l

P. Thompson wrote:
> On Mon, 27 Dec 2004, Dean Wells [MVP] wrote:
>
>> 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!
>
> ---
> Lord, protect me from those to whom you speak directly
> Leave the no-spam in, correct email address
Anonymous
December 28, 2004 6:36:58 PM

Archived from groups: microsoft.public.win2000.dns (More info?)

On Mon, 27 Dec 2004, Dean Wells [MVP] wrote:

> 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

---
Lord, protect me from those to whom you speak directly
Leave the no-spam in, correct email address
!