Problem to joint domain of VMs

Gas used Ask the Experts™
I create VMs to a esxi and i would like to use on of the VM is the Domain controller and join the other VMs the domain.
I add the roles of active directory,DHCP,DNS to the domain controller vm.

The problem is that when i tried to join the domain from other VM then i receive the error:
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 "test.local":

The error was: "This operation returned because the timeout period expired."
(error code 0x000005B4 ERROR_TIMEOUT)

The query was for the SRV record for _ldap._tcp.dc._msdcs.test.local

The DNS servers used by this computer for name resolution are not responding. This computer is configured to use DNS servers with the following IP addresses:

(no addresses found)
Verify that this computer is connected to the network, that these are the correct DNS server IP addresses, and that at least one of the DNS servers is running.

Also the vswitch topology is presented to the attached.vswitch.png
What is the problem ?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

in the virtual machine's network settings you have to ADD the domain servers ip address to the domain servers tab.2018-12-05_17-25-48.png
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Do your VMs have and IP Address ?

is DHCP working, been Authorised and Created ?

A few networking things to check...

1. Your DHCP server MUST supply the DNS IP Address of the DC.
2. Your VMs must receive an IP Address, which has the DNS name
3. Your VMs also need to receive the domain name (search name).

On your VM check you can ping the DNS FQDN from the VMs that need to join the domain.

Add the domain name (fqdn) to the workstations.

then try and join the domain.

VMs cannot join the domain because they cannot find the DNS to query the find the domain.

This is not a VMware vSphere or ESXi issues, basica AD networking issue.

Also make sure all VMs have the VMXNET3 interface, and VMware Tools is installed to support this interface, any other E1000, E1000e interface is incorrect, and is used just for installation.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial