Microsoft KB Archive/277650

= How to Determine the Site in Which a Domain Controller Is Located =

PSS ID Number: 277650

Article Last Modified on 11/4/2003

-

The information in this article applies to:


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server

-



This article was previously published under Q277650



SUMMARY
This article describes how to determine the site in which a domain controller is located.



MORE INFORMATION
The nltest command has several options to list site information that can help you determine the site in which a domain controller is located.

To list the site of a specific domain controller, type nltest /server: /dsgetsite at a command prompt, where   is the name of the domain controller that you want to locate. This command generates output similar to the following sample output:

C:\>nltest /server:DC-04 /dsgetsite

SITE01

The command completed successfully

To list all of the domain controllers and their sites, type nltest /dclist: at a command prompt, where  is the domain that you are trying to locate. This command generates output similar to the following sample output:

C:\>nltest /dclist:mydomain Get list of DCs in domain 'mydomain' from '\\DC-04'.

DC-03.mydomain.com           [DS] Site: SITE01 DC-02.mydomain.com           [DS] Site: SITE01 DC-05.mydomain.com           [DS] Site: SITE01 DC-04.mydomain.com           [DS] Site: SITE01 DC-01.mydomain.com     [PDC] [DS] Site: SITE01 DC-11.mydomain.com           [DS] Site: SITE02 DC-12.mydomain.com           [DS] Site: SITE02

The command completed successfully

The nltest command is available in Support Tools that is included on the Windows 2000 CD-ROM. You can install Support Tools by running the Setup.exe program in the Support\Tools folder on the Windows 2000 CD-ROM.

For a complete list of commands and switches for the nltest command, view the Support Tools documentation.

Additional query words: dc

Keywords: kbenv kbhowto KB277650

Technology: kbwin2000AdvServ kbwin2000AdvServSearch kbwin2000Search kbwin2000Serv kbwin2000ServSearch kbWinAdvServSearch

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.