DNS service locator records, or SRV records, are used by Domain Naming Services (DNS) to locate computers that host specific services. In a Microsoft Active Directory environment, SRV records are used to locate domain controllers. When Active Directory services are first installed on a server, the installation process adds the appropriate SRV records to the DNS server automatically. To verify that the records were created successfully, you can use the graphical DNS Management snap-in or, if you prefer to use the command line, you can use "nslookup."
- Skill level:
Things you need
- computer with Windows 2000 or higher
Open the "DNS Management" tool on your DNS server by typing "dnsmgmt.msc" into the "Run" command and pressing "OK."
Click on the plus sign next to the "Forward Lookup Zones" node to expand that folder.
Navigate to the following two DNS folders and verify that the "_kerberos" and "_ldap" service records exist in each. Make sure to substitute the name of your domain for [domain_name] in the folder names:
Folder 1: [domain_name]/_msdcs/dc/_sites/Default-First-Site-Name/_tcp.
Folder 2: [domain_name/_msdcs/dc/_tcp
Open a command prompt by clicking on the "Start" menu and typing "cmd" into the "Run" command.
Type "nslookup" at the command prompt and press "Enter" on your keyboard.
Type "set type=SRV" at the nslookup prompt and press the "Enter" key.
Type "_ldap._tcp.dc._msdcs.[domain_name] and press "Enter," making sure to replace [domain_name] with the name of your own domain.
Verify that at least one resource record was returned. The record will list the fully qualified domain name of the domain controller computer along with its IP address.
Type "Exit" to exit nslookup and type "Exit" again to close the command prompt window.
Tips and warnings
- If you are using a non-Windows DNS Server to support Active Directory, you can verify SRV records by checking the "netlogon.dns" file, which is located in the "%systemroot%\config" folder located on the domain server.
- Modifying DNS records can interrupt network operations. Only make changes if they are absolutely necessary and only if you understand the ramifications of the change.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for