An Active Directory Domain Controller (AD DC) for the domain “x.x.com” could not be contacted (Windows Azure)

When you attempt to join a Windows 2012 R2 server to a domain in Windows Azure, you may receive the error An Active Directory Domain Controller (AD DC) for the domain “x.x.com” could not be contacted

If you click Details, the relevant part of the explanation is:

The following error occurred when DNS was queried for the service location (SRV) resource record used to locate an Active Directory Domain Controller (AD DC) for domain “x.x.com”:
The error was: “DNS name does not exist.”
(error code 0x0000232B RCODE_NAME_ERROR)
The query was for the SRV record for _ldap._tcp.dc._msdcs.x.x.com”

In most cases, the domain controller is reachable. If you have enabled PING to your DC, you can try to ping and you will probably get an answer back. In that case, this error can easily be resolved by manually adding a DNS Server Address in the Advanced TCP/IP settings of the network adapter.

There’s a screenshot below (click to enlarge!) that visualizes the following steps to fix this problem:

First, logon to the machine that you want to join to the domain (your client)

  1. Go to your Network and Sharing Center
  2. Click the Network Adapter that you use to join the domain (typically there is only one adapter, but in some scenarios you may have multiple NICS connected to your network)
  3. In the window “Network Adapter” Status, click Properties
  4. In the new window, select the Internet Protocol Version 4 (TCP/IPv4)
  5. Then click Properties
  6. In the Internet Protocol Version 4 (TCP/IPv4) window, click Advanced…
  7. In the Advanced TCP/IP Settings, select the tab DNS
  8. Beneath the “DNS Server addresses, in order of use” click Add…
  9. A small window pops up. Enter the IP address of your Domain Controller, and click OK
  10. Close all Windows with the OK button. It may be necessary to restart the computer. Retry to join the domain.
DNS name does not exist
DNS name does not exist
0 0 votes
Article Rating
Subscribe
Notify of
guest
87 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Dinorah

Thank you very much for this tutorial! It is excellent!

Bhupen

its working. … thankx alot

Syed

Thanks a lot this has help a lot, excellent!!!

thanks

Thanks bro, its working thank u
best regards

Samuel Effange

I had the same problem and I realized that I was able to ping the Domain controller as well as the DNS server. From the result of IPCONFIG /all, I used the information on the connection-specific DNS Suffix as the domain I was joining to, and it worked.
Regards
Samuel

Farooq

Wow that was easy, Thank you very much………..

MIDHUN.K.SURYAN

Thank you very much…

Lee Erena

Men, you are the best… I spent more than 5 hours up until I read your post..

mohamed

I am given the server IP in DNS advance tab. but still it is not working

PaulG

If you tried the above procedure but still getting the same error, check if IPv6 is enabled on the DC. If no, then also disable it on the client you are trying to join onto the domain. It worked for me when i had everything set as described but still was failing to join.

mohamed

pls help me the same

Dave

same here, Ive been working on this issue for a week and just bought a book today to help with this configuration! Guess who’s getting a refund on the book? Thanks a milli

Eli

Awesome tutorial! Thank you so much!

sahand

thank you very much.

prem

thanks .. its done

SSenti

thanks…issue resolved

Gul

Thank you a lot, its working.

Imran Khan

Dear im unable to Connect my SERVER to WORKSTATION
So plz, tell me the whole procedure how to configure a server

Lala

thanks

Nguyen

Not work for me

ali

thank you very much

p

Thank you a lot lol

agieb wilson

thank u

Bugumba

My brother! Thank you so much. God bless.

Abdalazeem

Thank you so much , it works.

pls1

Thank you

mario

thanks a lot this for this post, helped me a lot !

alex

Thanks Mate, You are the legend, I was working on this problem for a week now.
Cheers,

sherif

Thank you very much
4 days trying to solve this problem till i read your post

Joe

Yep… worked for me too

Loren

I had to change the order of DNS servers, so that the DC IP was at the top, then my server immediately found the DC and joined the domain. THANKS!

Mac

This worked like a dream!!!! Thanks for the help.

Mbsn

tnx but this nut work for me ! :/ Now I have what I

Eeshan

Amazing ! As smooth as silk

Michael

worked Great! Thank you.

Nirmal

Thanks buddy today I am very happy really almost from one month tried today I got solution.

Kenneth

It works…Tnx a lot..

Anonymous

really thanks ur genius . i lost my sleep past 4 days .now i can able to login domain thanks a lot ..

Gidey

Thank you!!!

Anonymous

sir my error says that my connection could not e contacted…
the details says that DNS server has timed out
the remainig error is the same

Casa Rural Segovia

Great article.
In our environment, dns was defined, but not find the DC.
Following this procedure, but withot add other dns (we had well configurated dns), just clic ok after step 7, and we can add our machine to the DC.

Regards

Sam

Thank you. You’re a lifesaver.

Nitin

Fantastic… It’s really useful.. Thank You.

Hamed Najjarpour Jabbari

Thank you very much, You are life saver.
best regard

Marc

Mil gràcies! Thanks a lot!

Joshua

Excellent. Much appreciated. You are the real MVP!

NG

Thanks

Imran Khan

Sir how to Connect Server 2008 to users

Imran Khan

Plz help me IM very New in this field

Uchenna

Worked like charm! you are the best

citizen

This is one of the more important tips I’ve learned in a while. Thanks!

Anburaja

wow… its working …. thank yu

87
0
Would love your thoughts, please comment.x
()
x