Quantcast
Channel: Azure Networking (DNS, Traffic Manager, VPN, VNET) forum
Viewing all articles
Browse latest Browse all 6513

Unable to join an Azure VM to an Azure domain

$
0
0

I'm receiving an error joining a VM(target VM) to a domain in Azure (see below). I have been able to join VMs to this domain for a while now but a few days ago I began receiving the error. The DC/DNS is running Windows Server 2012R2. The target VM is running Windows 2008R2 (SQL Server 2008 Standard). Here are some of the things I've tried (the names are fictitious):

  • I have verified that the SRV record exists on the DC/DNS server(The DC and DNS are the same server).
  • When I run nltest /dsgetdc:demo.myvnet.com on the target VM, I get the following:

    Getting DC name failed: Status = 1355 0x54b ERROR_NO_SUCH_DOMAIN

  • I get the following when running nslookup on the target VM

Server:  mydc1.demo.myvnet.com

Address:  10.205.0.9

 

DNS request timed out.

    timeout was 2 seconds.

DNS request timed out.

    timeout was 2 seconds.

Name:    demo.myvnet.com

Address:  10.205.0.9

  • I've tried running ipconfig /registerdns and flushdns
  • I've tried the above with and without the firewall enabled on the target VM 
  • I can ping the DC/DNS server from the VM and I can ping the VM from DC/DNS server. Pinging the DC/DNS server from the target VM yields just "mydc1" instead of the FQDN: "mydc1.demo.myvnet.com". However, a Reverse Lookup Zone is configured and has a PTR record to the DC/DNS server.
  • I've verified that the timezone of the target VM matches that of the DC/DNS server.
  • The IP address for the DC/DNS server is static and has not changed. Also, it is correctly specified in the Azure virtual network settings.

The error I receive when trying to join the domain 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 "demo.plavnet.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.demo.plavnet.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:
168.63.129.16
10.205.0.9
- One or more of the following zones do not include delegation to its child zone:
demo.plavnet.com
plavnet.com
com
. (the root zone)

Any help would be greatly appreciated



Viewing all articles
Browse latest Browse all 6513

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>