How can I find the LDAP server in the DNS on Windows?Can't log in using second domain controller when first DC is unreachablenslookup for SRV records (or any non-A records) in non-interactive modeDNS server refusing requests for _mcdcs lookupsUnable to change the workgroup of the server to domain nameSamba4 Internal DNS with DHCP ServerHow to change hostname without reboot?An Active directory domain controller could not be contactedCan't connect computer to domainWrong IP when issuing nslookup - Windows DNS ServerCMD LDAP error Cannot connect to the LDAP server but connect success by c# code

What is the origin of Scooby-Doo's name?

Can any NP-Complete Problem be solved using at most polynomial space (but while using exponential time?)

How do I set an alias to a terminal line?

Trainee keeps missing deadlines for independent learning

Relationship between woodwinds and brass in a marching band?

How does the spell Remove Curse interact with a Sword of Vengeance?

What can I do with a research project that is my university’s intellectual property?

Why do textbooks often include the solutions to odd or even numbered problems but not both?

Do I have any obligations to my PhD supervisor's requests after I have graduated?

Employer wants to use my work email account after I quit

Minimum distance between holes in inner tube

If I wouldn't want to read the story, is writing it still a good idea?

How much will studying magic in an academy cost?

Can humans ever directly see a few photons at a time? Can a human see a single photon?

Why do even high-end cameras often still include normal (non-cross-type) AF sensors?

Is it illegal to withhold someone's passport and green card in California?

Is a single radon-daughter atom in air a solid?

Why does Linux list NVMe drives as /dev/nvme0 instead of /dev/sda?

What does it mean to "control target player"?

What does the hyphen "-" mean in "tar xzf -"?

Why does the Saturn V have standalone inter-stage rings?

What's currently blocking the construction of the wall between Mexico and the US?

How does DC work with natural 20?

Why do all the teams that I have worked with always finish a sprint without completion of all the stories?



How can I find the LDAP server in the DNS on Windows?


Can't log in using second domain controller when first DC is unreachablenslookup for SRV records (or any non-A records) in non-interactive modeDNS server refusing requests for _mcdcs lookupsUnable to change the workgroup of the server to domain nameSamba4 Internal DNS with DHCP ServerHow to change hostname without reboot?An Active directory domain controller could not be contactedCan't connect computer to domainWrong IP when issuing nslookup - Windows DNS ServerCMD LDAP error Cannot connect to the LDAP server but connect success by c# code






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








33















For Linux, this command should return the DNS record for the LDAP server



host -t srv _ldap._tcp.DOMAINNAME


(found at Authenticating from Java (Linux) to Active Directory using LDAP WITHOUT servername)



How could I get the same on the Windows command line using nslookup?



I tried



nslookup -type srv _ldap._tcp.DOMAINNAME


(following http://support.microsoft.com/kb/200525), would this be correct?










share|improve this question






























    33















    For Linux, this command should return the DNS record for the LDAP server



    host -t srv _ldap._tcp.DOMAINNAME


    (found at Authenticating from Java (Linux) to Active Directory using LDAP WITHOUT servername)



    How could I get the same on the Windows command line using nslookup?



    I tried



    nslookup -type srv _ldap._tcp.DOMAINNAME


    (following http://support.microsoft.com/kb/200525), would this be correct?










    share|improve this question


























      33












      33








      33


      21






      For Linux, this command should return the DNS record for the LDAP server



      host -t srv _ldap._tcp.DOMAINNAME


      (found at Authenticating from Java (Linux) to Active Directory using LDAP WITHOUT servername)



      How could I get the same on the Windows command line using nslookup?



      I tried



      nslookup -type srv _ldap._tcp.DOMAINNAME


      (following http://support.microsoft.com/kb/200525), would this be correct?










      share|improve this question
















      For Linux, this command should return the DNS record for the LDAP server



      host -t srv _ldap._tcp.DOMAINNAME


      (found at Authenticating from Java (Linux) to Active Directory using LDAP WITHOUT servername)



      How could I get the same on the Windows command line using nslookup?



      I tried



      nslookup -type srv _ldap._tcp.DOMAINNAME


      (following http://support.microsoft.com/kb/200525), would this be correct?







      windows domain-name-system ldap nslookup






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 23 '17 at 12:41









      Community

      1




      1










      asked Jun 22 '10 at 10:17









      mjnmjn

      3902626




      3902626




















          6 Answers
          6






          active

          oldest

          votes


















          43














          You need to use an = after -type:



          nslookup -type=srv _ldap._tcp.DOMAINNAME





          share|improve this answer


















          • 1





            still can't get

            – ilhnctn
            Mar 13 '13 at 7:09


















          6














          In cmd shell:



          nslookup 
          set types=all
          _ldap._tcp





          share|improve this answer




















          • 2





            Or, in one line nslookup -type=all _ldap._tcp. Wanted so I could redirect output to a file.

            – dsz
            Jul 27 '16 at 0:58


















          3














          How to verify Service Location (SRV) locator resource records for a domain controller after you install the Active Directory directory service.



          Use Nslookup to verify the SRV records, follow these steps:



          1. Click Start, and then click Run.


          2. In the Open box, type cmd.


          3. Type nslookup, and then press ENTER.


          4. Type set type=all, and then press ENTER.


          5. Type _ldap._tcp.dc._msdcs.Domain_Name, where Domain_Name is the name of your domain, and then press ENTER.






          share|improve this answer






























            1














            None of the above worked for me, I got every time an error like this (I've tried with all the combinations I can thing of with the domain names):



            *** UnKnown can't find _ldap._tcp: Non-existent domain



            So another google search pointed to this method:



            nltest /dclist:yourdomain.com



            and this results in the list of the different servers in my network. Hope this saves an additional 2 minutes to someone else.






            share|improve this answer






























              0














              Windows cmd prompt uses "query" instead of "type" for some forsaken reason. Interactive nslookup still uses "set type=srv".



              nslookup -query=srv _ldap._tcp.DOMAINNAME



              EDIT: while "query" works it seems that I am 100% wrong. "type" works too.






              share|improve this answer

























              • Are you sure about that? nslookup -type=srv _ldap._tcp.DOMAINNAME works as expected on Windows.

                – jscott
                Sep 7 '14 at 4:29


















              0














              "nslookup -query=srv _ldap._tcp.DOMAINNAME" worked for me, tried nslookup -type=srv _ldap._tcp.DOMAINNAME and didn't work.



              Server 2008 R2






              share|improve this answer

























                Your Answer








                StackExchange.ready(function()
                var channelOptions =
                tags: "".split(" "),
                id: "2"
                ;
                initTagRenderer("".split(" "), "".split(" "), channelOptions);

                StackExchange.using("externalEditor", function()
                // Have to fire editor after snippets, if snippets enabled
                if (StackExchange.settings.snippets.snippetsEnabled)
                StackExchange.using("snippets", function()
                createEditor();
                );

                else
                createEditor();

                );

                function createEditor()
                StackExchange.prepareEditor(
                heartbeatType: 'answer',
                autoActivateHeartbeat: false,
                convertImagesToLinks: true,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: 10,
                bindNavPrevention: true,
                postfix: "",
                imageUploader:
                brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                allowUrls: true
                ,
                onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                );



                );













                draft saved

                draft discarded


















                StackExchange.ready(
                function ()
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f153526%2fhow-can-i-find-the-ldap-server-in-the-dns-on-windows%23new-answer', 'question_page');

                );

                Post as a guest















                Required, but never shown

























                6 Answers
                6






                active

                oldest

                votes








                6 Answers
                6






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                43














                You need to use an = after -type:



                nslookup -type=srv _ldap._tcp.DOMAINNAME





                share|improve this answer


















                • 1





                  still can't get

                  – ilhnctn
                  Mar 13 '13 at 7:09















                43














                You need to use an = after -type:



                nslookup -type=srv _ldap._tcp.DOMAINNAME





                share|improve this answer


















                • 1





                  still can't get

                  – ilhnctn
                  Mar 13 '13 at 7:09













                43












                43








                43







                You need to use an = after -type:



                nslookup -type=srv _ldap._tcp.DOMAINNAME





                share|improve this answer













                You need to use an = after -type:



                nslookup -type=srv _ldap._tcp.DOMAINNAME






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jun 22 '10 at 10:36









                Phil RossPhil Ross

                5,62922018




                5,62922018







                • 1





                  still can't get

                  – ilhnctn
                  Mar 13 '13 at 7:09












                • 1





                  still can't get

                  – ilhnctn
                  Mar 13 '13 at 7:09







                1




                1





                still can't get

                – ilhnctn
                Mar 13 '13 at 7:09





                still can't get

                – ilhnctn
                Mar 13 '13 at 7:09













                6














                In cmd shell:



                nslookup 
                set types=all
                _ldap._tcp





                share|improve this answer




















                • 2





                  Or, in one line nslookup -type=all _ldap._tcp. Wanted so I could redirect output to a file.

                  – dsz
                  Jul 27 '16 at 0:58















                6














                In cmd shell:



                nslookup 
                set types=all
                _ldap._tcp





                share|improve this answer




















                • 2





                  Or, in one line nslookup -type=all _ldap._tcp. Wanted so I could redirect output to a file.

                  – dsz
                  Jul 27 '16 at 0:58













                6












                6








                6







                In cmd shell:



                nslookup 
                set types=all
                _ldap._tcp





                share|improve this answer















                In cmd shell:



                nslookup 
                set types=all
                _ldap._tcp






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited May 21 '15 at 18:42









                BE77Y

                2,39031422




                2,39031422










                answered May 21 '15 at 15:43









                MattieuBGepiMattieuBGepi

                6113




                6113







                • 2





                  Or, in one line nslookup -type=all _ldap._tcp. Wanted so I could redirect output to a file.

                  – dsz
                  Jul 27 '16 at 0:58












                • 2





                  Or, in one line nslookup -type=all _ldap._tcp. Wanted so I could redirect output to a file.

                  – dsz
                  Jul 27 '16 at 0:58







                2




                2





                Or, in one line nslookup -type=all _ldap._tcp. Wanted so I could redirect output to a file.

                – dsz
                Jul 27 '16 at 0:58





                Or, in one line nslookup -type=all _ldap._tcp. Wanted so I could redirect output to a file.

                – dsz
                Jul 27 '16 at 0:58











                3














                How to verify Service Location (SRV) locator resource records for a domain controller after you install the Active Directory directory service.



                Use Nslookup to verify the SRV records, follow these steps:



                1. Click Start, and then click Run.


                2. In the Open box, type cmd.


                3. Type nslookup, and then press ENTER.


                4. Type set type=all, and then press ENTER.


                5. Type _ldap._tcp.dc._msdcs.Domain_Name, where Domain_Name is the name of your domain, and then press ENTER.






                share|improve this answer



























                  3














                  How to verify Service Location (SRV) locator resource records for a domain controller after you install the Active Directory directory service.



                  Use Nslookup to verify the SRV records, follow these steps:



                  1. Click Start, and then click Run.


                  2. In the Open box, type cmd.


                  3. Type nslookup, and then press ENTER.


                  4. Type set type=all, and then press ENTER.


                  5. Type _ldap._tcp.dc._msdcs.Domain_Name, where Domain_Name is the name of your domain, and then press ENTER.






                  share|improve this answer

























                    3












                    3








                    3







                    How to verify Service Location (SRV) locator resource records for a domain controller after you install the Active Directory directory service.



                    Use Nslookup to verify the SRV records, follow these steps:



                    1. Click Start, and then click Run.


                    2. In the Open box, type cmd.


                    3. Type nslookup, and then press ENTER.


                    4. Type set type=all, and then press ENTER.


                    5. Type _ldap._tcp.dc._msdcs.Domain_Name, where Domain_Name is the name of your domain, and then press ENTER.






                    share|improve this answer













                    How to verify Service Location (SRV) locator resource records for a domain controller after you install the Active Directory directory service.



                    Use Nslookup to verify the SRV records, follow these steps:



                    1. Click Start, and then click Run.


                    2. In the Open box, type cmd.


                    3. Type nslookup, and then press ENTER.


                    4. Type set type=all, and then press ENTER.


                    5. Type _ldap._tcp.dc._msdcs.Domain_Name, where Domain_Name is the name of your domain, and then press ENTER.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Sep 28 '15 at 18:51









                    jim31415jim31415

                    1464




                    1464





















                        1














                        None of the above worked for me, I got every time an error like this (I've tried with all the combinations I can thing of with the domain names):



                        *** UnKnown can't find _ldap._tcp: Non-existent domain



                        So another google search pointed to this method:



                        nltest /dclist:yourdomain.com



                        and this results in the list of the different servers in my network. Hope this saves an additional 2 minutes to someone else.






                        share|improve this answer



























                          1














                          None of the above worked for me, I got every time an error like this (I've tried with all the combinations I can thing of with the domain names):



                          *** UnKnown can't find _ldap._tcp: Non-existent domain



                          So another google search pointed to this method:



                          nltest /dclist:yourdomain.com



                          and this results in the list of the different servers in my network. Hope this saves an additional 2 minutes to someone else.






                          share|improve this answer

























                            1












                            1








                            1







                            None of the above worked for me, I got every time an error like this (I've tried with all the combinations I can thing of with the domain names):



                            *** UnKnown can't find _ldap._tcp: Non-existent domain



                            So another google search pointed to this method:



                            nltest /dclist:yourdomain.com



                            and this results in the list of the different servers in my network. Hope this saves an additional 2 minutes to someone else.






                            share|improve this answer













                            None of the above worked for me, I got every time an error like this (I've tried with all the combinations I can thing of with the domain names):



                            *** UnKnown can't find _ldap._tcp: Non-existent domain



                            So another google search pointed to this method:



                            nltest /dclist:yourdomain.com



                            and this results in the list of the different servers in my network. Hope this saves an additional 2 minutes to someone else.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Apr 12 '18 at 6:41









                            CrossCross

                            17527




                            17527





















                                0














                                Windows cmd prompt uses "query" instead of "type" for some forsaken reason. Interactive nslookup still uses "set type=srv".



                                nslookup -query=srv _ldap._tcp.DOMAINNAME



                                EDIT: while "query" works it seems that I am 100% wrong. "type" works too.






                                share|improve this answer

























                                • Are you sure about that? nslookup -type=srv _ldap._tcp.DOMAINNAME works as expected on Windows.

                                  – jscott
                                  Sep 7 '14 at 4:29















                                0














                                Windows cmd prompt uses "query" instead of "type" for some forsaken reason. Interactive nslookup still uses "set type=srv".



                                nslookup -query=srv _ldap._tcp.DOMAINNAME



                                EDIT: while "query" works it seems that I am 100% wrong. "type" works too.






                                share|improve this answer

























                                • Are you sure about that? nslookup -type=srv _ldap._tcp.DOMAINNAME works as expected on Windows.

                                  – jscott
                                  Sep 7 '14 at 4:29













                                0












                                0








                                0







                                Windows cmd prompt uses "query" instead of "type" for some forsaken reason. Interactive nslookup still uses "set type=srv".



                                nslookup -query=srv _ldap._tcp.DOMAINNAME



                                EDIT: while "query" works it seems that I am 100% wrong. "type" works too.






                                share|improve this answer















                                Windows cmd prompt uses "query" instead of "type" for some forsaken reason. Interactive nslookup still uses "set type=srv".



                                nslookup -query=srv _ldap._tcp.DOMAINNAME



                                EDIT: while "query" works it seems that I am 100% wrong. "type" works too.







                                share|improve this answer














                                share|improve this answer



                                share|improve this answer








                                edited Sep 9 '14 at 9:13

























                                answered Sep 7 '14 at 4:14









                                AndyAndy

                                9661610




                                9661610












                                • Are you sure about that? nslookup -type=srv _ldap._tcp.DOMAINNAME works as expected on Windows.

                                  – jscott
                                  Sep 7 '14 at 4:29

















                                • Are you sure about that? nslookup -type=srv _ldap._tcp.DOMAINNAME works as expected on Windows.

                                  – jscott
                                  Sep 7 '14 at 4:29
















                                Are you sure about that? nslookup -type=srv _ldap._tcp.DOMAINNAME works as expected on Windows.

                                – jscott
                                Sep 7 '14 at 4:29





                                Are you sure about that? nslookup -type=srv _ldap._tcp.DOMAINNAME works as expected on Windows.

                                – jscott
                                Sep 7 '14 at 4:29











                                0














                                "nslookup -query=srv _ldap._tcp.DOMAINNAME" worked for me, tried nslookup -type=srv _ldap._tcp.DOMAINNAME and didn't work.



                                Server 2008 R2






                                share|improve this answer



























                                  0














                                  "nslookup -query=srv _ldap._tcp.DOMAINNAME" worked for me, tried nslookup -type=srv _ldap._tcp.DOMAINNAME and didn't work.



                                  Server 2008 R2






                                  share|improve this answer

























                                    0












                                    0








                                    0







                                    "nslookup -query=srv _ldap._tcp.DOMAINNAME" worked for me, tried nslookup -type=srv _ldap._tcp.DOMAINNAME and didn't work.



                                    Server 2008 R2






                                    share|improve this answer













                                    "nslookup -query=srv _ldap._tcp.DOMAINNAME" worked for me, tried nslookup -type=srv _ldap._tcp.DOMAINNAME and didn't work.



                                    Server 2008 R2







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Jun 5 at 21:02









                                    JimJim

                                    1




                                    1



























                                        draft saved

                                        draft discarded
















































                                        Thanks for contributing an answer to Server Fault!


                                        • Please be sure to answer the question. Provide details and share your research!

                                        But avoid


                                        • Asking for help, clarification, or responding to other answers.

                                        • Making statements based on opinion; back them up with references or personal experience.

                                        To learn more, see our tips on writing great answers.




                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function ()
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f153526%2fhow-can-i-find-the-ldap-server-in-the-dns-on-windows%23new-answer', 'question_page');

                                        );

                                        Post as a guest















                                        Required, but never shown





















































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown

































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown







                                        Popular posts from this blog

                                        Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

                                        Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

                                        Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020