Problem to joint domain of VMs

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 ?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
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
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.