I'm trying to add one of my machine to an Active Directory domain.
1) I added a record for my domain controller to the host file of the machine to translate its IP address
2) In the "Member of" field in the settings, I wrote the domain I wanna join.
3) I click on OK
I get this error :
The error was: "No records found for given DNS query. (error code 0x0000251D DNS_INFO_NO_RECORDS) The query was for the SRV record for _ldap._tcp.dc._msdcs.***
It seems that the domain name is still unaccessible, as if the host file didn't make a difference. The weird thing is that I can access the domain name from a browser on the machine. So I really don't know where the error comes from.
Thank you for your help