Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 114
  • Last Modified:

Windows Server 2012 R2 Unable to Re-Join the Domain

I have a Windows Server 2012 R2 machine that I have previously added to the domain for testing purposes.  I have since removed it from the domain.  I now need to rejoin it to the domain and I get the following error:

"An Active Directory Domain Controller (AD DC) for the domain "domain.com" could not be contacted.

Ensure that the domain name is typed correctly.

If the name is correct, click details for troubleshooting information.

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.

DNS was successfully queried for the service location (SRV) resource record used to locate a domain controller for domain "domain.com":

The query was for the SRV record for _ldap._tcp.dc._msdcs.domain.com

The following domain controllers were identified by the query:
server1.domain.com
server2.domain.com

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 addresses are missing or contain incorrect addresses.

- Domain controllers registered in DNS are not connected to the network or are not running."

I am however able to join and un-join the domain from a Windows 7 machine.  I have verified that AD and DNS are propagating correctly.  I have also viewed the computers in AD and enabled the computer account, I've tried resetting the account, as well as deleting the account with no luck.

When running ipconfig /all it lists the appropriate DNS servers.

I can also ping my ad/dns servers via host name.

When doing an nslookup on domain.com I get the results:

PS C:\Users\Administrator> nslookup domain.com
DNS request timed out.
    timeout was 2 seconds.
Server:  UnKnown
Address:  (server1's address)

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
*** Request to UnKnown timed-out
PS C:\Users\Administrator>

When running nslookup from another computer or Windows 2012 R2 Server I get the results I should receive.

It appears as though it is a DNS issue but I'm not sure where to go next.

Thanks in advance.
0
ollybuba
Asked:
ollybuba
  • 6
  • 4
  • 2
1 Solution
 
Tim PhillipsCommented:
Simple things first, do you have the DNS server entries on your NIC pointing to the correct DNS server (likely the domain controller)?
0
 
ollybubaAuthor Commented:
Yes, I can also ping my ad/dns servers by host name.
0
 
Bryant SchaperCommented:
check DNS, or if on a separate subnet/vlan we may have to look at a couple things
0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
ollybubaAuthor Commented:
What should I check with DNS?  Everything seems to be operating properly on every other computer.
0
 
Tim PhillipsCommented:
If you do an "ipconfig /flushdns" are you still able to resolve the domain controller after that?
0
 
ollybubaAuthor Commented:
Yes.
0
 
Bryant SchaperCommented:
you can ping the domain.com try the short name of the domain instead
0
 
ollybubaAuthor Commented:
That works as well.
0
 
Bryant SchaperCommented:
joining by the short name works?
0
 
ollybubaAuthor Commented:
I was referring to pinging.  I was able to join the server to the domain via the short name.  Do you know why it wouldn't let me join via domain.com?
0
 
Bryant SchaperCommented:
can you post ipconfig /all
0
 
ollybubaAuthor Commented:
Solution was found by only entering the short name of the domain.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 6
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now