We have a new Server 2012R2 machine. Getting an error after trying to promote to domain controller. I've added the roles of Active Directory Sites and Services, AD users and computers, AD domains and trusts and DNS. But I get the error, "DNS cannot be installed on this domain controller because this domain does not host DNS." We absolutely use DNS on our domain. But this halts the install and I can't go any further in the server promotion. I've researched this and I haven't found a situation that matches ours exactly. Some say to run dcpromo from a cmd prompt but that has gone away in 2012R2. We only have one other DC it is a Windows Server 2008 Standard machine. I have verified that it has the DNS role.
I would check to make sure you can reach the extant DCs from this new machine. It may be there's a networking/firewall issue that's preventing this new DC from contacting DNS.
Performing initial setup:
Trying to find home server...
***Error: *servername* is not a Directory Server. Must specify /s:<Directory
Server> or /n:<Naming Context> or nothing to use the local machine.
ERROR: Could not find home server.
The server that held the PDCe FSMO role died due to multiple hard drive failure. The output of the nslookup command is attached. Two of the three machines are no longer on the domain. DNS-Info.txt
Have you ran the script provided by David yet? Once you have done this, then you will want to do a metadata cleanup of all orphaned DC's. Orphaned DC's are domain controllers that have been removed from the domain but still have entries in AD because of a failed or improper removal.
Ok, a few things. I've finished tweaking the DNS settings. I obtained DNS info from my service provider and entered it on *SERVER1*. I ran the commands listed in #1, it did not like 'netlogon'. It told me "'netdiag' is not recognized as an internal
operable program or batch file." Upon researching I found it was an older command not available on 2008 anymore so I moved on. In #2 I already had a.root-servers.net entered. Only, b through m.root-servers.net are listed as well. Should I delete them? Finally, in DNS manager I don't see the newly promoted DC. It is listed in "name servers" for our domain though.
http://support.microsoft.com/en-us/kb/2002584
-saige-