I'm unable to join a server to a domain. I get the message: DNS was successfully queried for service location (SRV) resource record used to locate a domain controller for domain "XYZ_A":
The query was for the SRV record for _ldap._tcp.dc._msdcs.XYZ_A
The following domain controllers were identified by the query:
DC1.XYZ_A
DC2.XYZ_A
However no domain controllers could be contacted. Common causes of this error include:
-Host (A) or (AAAA) records that map the names of the domain controllers to their IP addressses are missing or contain incorrect addresses.
-Domain controllers registered in DNS are not connected to the network or are not running
---------------------------------
So here is what I'm able and not able to do from this server that I'm trying to join to the domain:
1. I couldn't ping DC1 or DC2. I could ping the FQDN DC1.XYZ_A though, so what I did is added a DNS suffix and now I can ping DC1 or DC2 just fine. I still get the same error when trying to add it to the domain though.
2. I cannot ping the domain XYZ_A. When I run nslookup XYZ_A it finds the domain controller but it says "can't find XYZ_A:Non-existent domain".
This server is a VM located in the cloud. It is on a different network than the domain controller that I'm trying to contact. The DNS server that I have in the iPv4 settings is the domain controller I'm trying to contact. The DNS entries seem correct but I might be missing something.
Anyone have any suggestions?