question

Walidxb-4553 avatar image
0 Votes"
Walidxb-4553 asked HimanshuZinzuwadia-2041 published

Unable to Join VM to Azure AD Domain Services

I am getting an error while trying to join a DS management VM to the AADDS.
Error: An active directory domain controller (AD DC) for the domain "domain Name" could not be contacted. Ensure the domain name is typed correctly. If the name is correct, click details for troubleshooting information. VM is in a different subnet then the AD DS subnet. But, both subnets are in the same VNET.
94183-adds-error.jpg
Error in details:

Note: This information is intended for a network administrator. If you are not your network's administrator, notify the administrator that you received this information, which has been recorded in the file C:\Windows\debug\dcdiag.txt.

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 "domain.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.domain.com

Common causes of this error include the following:

The DNS SRV records required to locate a AD DC for the domain are not registered in DNS. These records are registered with a DNS server automatically when a AD DC is added to a domain. They are updated by the AD DC at set intervals. This computer is configured to use DNS servers with the following IP addresses:

10.0.1.5 10.0.1.4

One or more of the following zones do not include delegation to its child zone:

domain.com . (the root zone)


azure-ad-domain-services
adds-error.jpg (61.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndreasBaumgarten avatar image
1 Vote"
AndreasBaumgarten answered

Hi @Walidxb-4553 ,

what is the result if you ping the domain name on the computer you like to join to the domain?

The DNS Servers 10.0.1.5 and 10.0.1.4 are the AADS DCs?

The VM you like to join to the AADS is in the same vNet/Subnet with the AADS DCs? If not, are the vNets peered?


(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HimanshuZinzuwadia-2041 avatar image
0 Votes"
HimanshuZinzuwadia-2041 answered HimanshuZinzuwadia-2041 published

I have the same issue. I can ping the AD DS domain name after VPN.

The Vnet for VPN and AD DS are peered. nslookup peregrinead.com results in DNS server time out. I have the DNS Servers of my local wireless router and the IP addresses associated with AD DS as the DNS servers listed under the Azure VPN Client connection

ping domainame.com
Pinging domainname.com [34.102.136.180] with 32 bytes of data:
Reply from xx.xx.xx.xxx : bytes=32 time=44ms TTL=113

nslookup peregrinead.com
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 10.0.0.4

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.