+1 - that should do the trick.

You beat me to it - I was just getting ready to send that. I verified that it 
found all of mine, and two of them are not domain controllers, and are holding 
no FSMO roles whatsoever. Make sure you include the ".com" or ".local" or 
.whatever, otherwise you won't get everything.

HTH...

Jonathan L. Raper, A+, MCSA, MCSE
Technology Coordinator
Eagle Physicians & Associates, PA
[email protected]<BLOCKED::mailto:%[email protected]>
www.eaglemds.com<BLOCKED::http://www.eaglemds.com/>

________________________________
From: Andrew S. Baker [mailto:[email protected]]
Sent: Wednesday, September 22, 2010 4:07 PM
To: NT System Admin Issues
Subject: Re: Show all DNS Servers in AD

I would think that AD has some way of tracking all DNS servers in a forest, 
because it allows you to replicate a zone to all DNS servers in a forest or 
domain.

One way to get at least a partial list of DNS servers would be via NSLOOKUP
nslookup -type=ns yourlocaldomain.tld


ASB (My XeeSM Profile)<http://XeeSM.com/AndrewBaker>
Exploiting Technology for Business Advantage...

On Wed, Sep 22, 2010 at 3:29 PM, Brian Desmond 
<[email protected]<mailto:[email protected]>> wrote:
There's no such listing. DHCP authorizations actually create objects in AD to 
track them.

You'd need to find all the DNS application partitions and what's hosted under 
them (plus zones hosted under the domain NC) and then inspect the replica list 
for each one and merge. That wouldn't get you any DNS server which isn't 
hosting any AD integrated zones. Finally you'd need to check for the presence 
of DNS on each replica as it's possible the data is replicated to the DC but 
there is no DNS service on there.

Thanks,
Brian Desmond
[email protected]<mailto:[email protected]>

c   - 312.731.3132

From: Webster [mailto:[email protected]<mailto:[email protected]>]
Sent: Wednesday, September 22, 2010 2:23 PM
To: NT System Admin Issues
Subject: Show all DNS Servers in AD

To find all authorized DHCP servers in AD I can enter:

Netsh dhcp show server

Netsh does not have a DNS parameter.  Is there a command I can run to list all 
DNS servers in AD?  I couldn't find anything useful using dnscmd.

Thanks


Webster



~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
[email protected]<mailto:[email protected]>
with the body: unsubscribe ntsysadmin

________________________________
Any medical information contained in this electronic message is CONFIDENTIAL 
and privileged. It is unlawful for unauthorized persons to view, copy, 
disclose, or disseminate CONFIDENTIAL information. This electronic message may 
contain information that is confidential and/or legally privileged. It is 
intended only for the use of the individual(s) and/or entity named as 
recipients in the message. If you are not an intended recipient of this 
message, please notify the sender immediately and delete this material from 
your computer. Do not deliver, distribute or copy this message, and do not 
disclose its contents or take any action in reliance on the information that it 
contains.

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to