For Linux, this command should return le DNS record for le LDAP server
```
host -t srv _ldap._tcp.DOMAINNAME
```
(found at [Authenticating from Java (Linux) to Active Directory using LDAP WITHOUT servername](https://stackoverflow.com/questions/3091984))
How could I get le même on le Windows command line using nslookup?
J'ai essayé
```
nslookup -type srv _ldap._tcp.DOMAINNAME
```
(following [http://support.microsoft.com/kb/200525](http://support.microsoft.com/kb/200525)), would this be correct?
Comment trouver le serveur LDAP dans le DNS sous Windows ?
Re: Comment trouver le serveur LDAP dans le DNS sous Windows ?
Vous devez to use an `=` après `-type`:
```
nslookup -type=srv _ldap._tcp.DOMAINNAME
```
Replace `DOMAINNAME` avec le actual name of le domain.
```
nslookup -type=srv _ldap._tcp.DOMAINNAME
```
Replace `DOMAINNAME` avec le actual name of le domain.