How about just performing a query against the directory for all objects have a value of “DNS/*” in their servicePrincipalName property?  Of course you could restrict this query more by limiting it only to computer objects, etc.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean Wells
Sent: Wednesday, May 17, 2006 3:54 AM
To: Send - AD mailing list
Subject: RE: [ActiveDir] how to find DNS servers in a forest?

 

Dump the msDs-masteredBy attribute of the forestDNSzones NC head to determine the DCs running 2K3 upon which MS' DNS is installed and is (or at least was) running.  You can further qualify that list using WMI or SC.EXE or any means of remotely querying the installed services.  This is quite simple to script or to wrap in a for-in-do-loop to automate the output.

 

Note - this addresses only DCs running DNS which I inferred was your primary goal.

--
Dean Wells
MSEtechnology
* Email: [EMAIL PROTECTED]
http://msetechnology.com

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Almeida Pinto, Jorge de
Sent: Wednesday, May 17, 2006 2:30 AM
To: [email protected]
Subject: RE: [ActiveDir] how to find DNS servers in a forest?

first thing comes to mind is using WMI and check for the DNS server service and that it is also started

 

Met vriendelijke groeten / Kind regards,

Ing. Jorge de Almeida Pinto

Senior Infrastructure Consultant

MVP Windows Server - Directory Services

 

LogicaCMG Nederland B.V. (BU RTINC Eindhoven)

(      Tel     : +31-(0)40-29.57.777

( Mobile     : +31-(0)6-26.26.62.80

*     E-mail : <see sender address>

 


From: [EMAIL PROTECTED] on behalf of Manjeet Singh
Sent: Wed 2006-05-17 07:24
To: [email protected]
Subject: [ActiveDir] how to find DNS servers in a forest?

If I have a list of DCs in windows 2003 forest, I just want to verify if they have Microsoft-DNS installed on them? Where this information stored in AD?

 

Or I want to find how many DC’s have DNS Installed.

 

Thanks, Manjeet

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

Reply via email to