To verify DNS registration for domain controllers using the nslookup command

  1. At a command prompt, type:

    nslookup

  2. After the previous command completes, at the nslookup (">") prompt type:

    set q=rr_type

    where rr_type is the resource record (RR) type to apply as a filter for subsequent lookups.

    For example, in this instance, because you want to limit subsequent name queries to filter and return only service location (SRV) RRs that use a specified name, type:

    set q=srv.

  3. After the previous command completes, type:

    _ldap._tcp.dc._msdcs.Active_Directory_domain_name

    where Active_Directory_domain_name is the DNS name configured for use with your Active Directory domain and any of its associated domain controllers.

    For example, if the DNS domain name of your Active Directory domain is example.microsoft.com, type:

    _ldap._tcp.dc._msdcs.example.microsoft.com.

  4. Review the output of the previous SRV query and determine if further action is needed based on whether the previous query succeeded or failed:

    For more information, see Notes and Related Topics.

note Note

Troubleshoot DNS servers

Nslookup subcommands

Nslookup Notes

Nslookup

Online product support