Hi,

try:
NETDOM QUERY DC (all DCs in a domain)
NLTEST /DCLIST:<DOMAINNAME>  (all DCs in a domain)

With NSLOOKUP (default OS command line) you can do name resolution from
DNS->IP
With NBLOOKUP (additional dload from MS) you can do name resolution from
NetBIOS->IP

NETDOM QUERY FSMO will retrieve the FSMO roles (AD)
NLTEST /DCNAME:<DomainName> - Get the PDC name for <DomainName>

NLTEST and NETDOM both available in Support Tools

In W2K or W2K3 there are no primaries or secondaries. These only exist in
WNT4 and earlier. The "primary roles" in AD are called the FSMO roles
(=flexible single masters of operations)

Forest FSMOs are (1 per ADcforest): domain naming master, schema master
Domain FSMOs are (1 per AD domain in an AD forest): infrastructure master,
PDC emulator, RID master

Regards,
Jorge


-----Original Message-----
From: [EMAIL PROTECTED]
To: [email protected]
Sent: 12/26/2004 3:20 PM
Subject: [ActiveDir] domain controller name

Hi,
Sorry if this has been asked.
Is there a command that can give me the domain controller's names or ip
addresses? And if there is will that tell me witch of that domain
controller
is the primary one and witch is the secondary?
Thanks,
Dan

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

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.
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to