2

I am unable to connect a client pc to a domain controller which is a Windows Server 2012 Datacenter. I have tried connecting it :

  1. Through the system menu in Control Panel
  2. Putting all the credentials correctly
  3. Manually changing it to 'domain' rather than a 'workgroup'

    The error message generated at the end is "Your Computer Could not be joined..."
    "An attempt to resolve the DNS name of the domain controller in the domain being joined has failed. Please verify this client is configured to reach a DNS server that can resolve DNS names in the target domain."

    N.B : >> ADS, DNS, DHCP Services are installed and on.
             >> The network is LAN connected
             >> I am inexperienced :|
dope
  • 41
  • 2
  • 7

2 Answers2

1

I would give the following resolutions in this order (try again after each):

  1. Use FQDN: example.com instead of just example.
  2. Check that your DNS server is resolving the server IP correctly.
    • If you are using external DNS servers, they probably won't resolve internal addresses. If your domain controller has DNS role, set your DHCP to make it the primary DNS server for your network.
    • You can also set the DNS server manually to be the DC during operation.
    • In clients command line, check nslookup dc.example.comand see whether the result is the correct IP of your domain controller. (It'll also show which name server was used.)
  3. Ensure you can connect to the server with this IP address. (ping, HTTP, anything...)
  4. Temporarily disable Windows Firewall on the client.
    • Also, could any 3rd party firewalls or other security solutions prevent this?
  5. Disable IPv6.
Esa Jokinen
  • 52,963
  • 3
  • 95
  • 151
1

After all the hectic and researching over the internet, I found out the solution.

  • Resetting the router
  • flushdns the WS2012
  • Re-installing the service

Might help others, and thanks @Esa Jokinen, @roaima

dope
  • 41
  • 2
  • 7