Newbie can't join VM 2019 Server to Azure AD DC Domain

SRohleder 1 Reputation point
2022-09-06T18:53:00.65+00:00

I've passed the AZ-900, so I guess I'm not an absolute newbie, but not by much. Anyway, I'm working through a Udemy class on the AZ-800 curriculum by John Christopher.

I have created a Resource Group. Within that group I have both AD Domain Services and a windows 2019 Server. When I try to join the server into the domain I get:


An Active Directory Domain Controller (AD DC) for the domain "xxxxxxxxxx.com" could not be contacted.

Ensure the domain name is typed correctly.

If the name is correct, click Details for troubleshooting information.


DETAILS gives me:

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 "xxxxxxxxxx.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.xxxxxxxxxx.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:

X.X.X.X

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

xxxxxxxxxx.com

com

. (the root zone)


I back out of the domain joining.

At this point I go over to the Resource Group and the domain name. There is a warning that the DC could not be contacted. There I will find a banner with "Configuration issues for your managed...". Clicking there, there is a little routine to fix the DNS entries. It says that the issue is fixed. I reboot the server, but I can never get it to join the domain.

From the VM command prompt:

C:\Users\elpadmin>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : Server
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : so4qjdhbct0uvlf1wwyqy0x45d.phxx.internal.cloudapp.net

Ethernet adapter Ethernet:

Connection-specific DNS Suffix . : so4qjdhbct0uvlf1wwyqy0x45d.phxx.internal.cloudapp.net
Description . . . . . . . . . . . : Microsoft Hyper-V Network Adapter
Physical Address. . . . . . . . . : 60-45-BD-C8-8C-1B
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::acf5:ede7:2c6b:5e32%6(Preferred)
IPv4 Address. . . . . . . . . . . : 10.1.0.4(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Tuesday, September 6, 2022 4:43:44 PM
Lease Expires . . . . . . . . . . : Friday, October 13, 2158 11:39:40 PM
Default Gateway . . . . . . . . . : 10.1.0.1
DHCP Server . . . . . . . . . . . : 168.63.129.16
DHCPv6 IAID . . . . . . . . . . . : 106972605
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-2A-A8-B8-C7-60-45-BD-C8-8C-1B
DNS Servers . . . . . . . . . . . : 168.63.129.16
NetBIOS over Tcpip. . . . . . . . : Enabled


C:\Users\elpadmin>nslookup xxxxxxxxxx.com
Server: UnKnown
Address: 168.63.129.16

*** UnKnown can't find xxxxxxxxxx.com: Non-existent domain


C:\Users\elpadmin>nslookup xxxxxxxxxx.com 168.63.129.16
Server: UnKnown
Address: 168.63.129.16

*** UnKnown can't find xxxxxxxxxx.com: Non-existent domain


C:\Users\elpadmin>ping 168.63.129.16

Pinging 168.63.129.16 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 168.63.129.16:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)


I'm sure I'm just doing something stupid.

Does anyone have any suggestions? I've been beating my head against the wall for several days now. Has anyone else experienced a pain point learning Azure? I've been stuck here for a few days now.

Thanks!

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
598 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,159 questions
Microsoft Entra
{count} votes

1 answer

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP
    2022-09-06T21:56:13.747+00:00

    Some trouble shooting here.
    https://learn.microsoft.com/en-us/azure/active-directory-domain-services/troubleshoot-domain-join

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments