When promoting a Windows Server 2008 or Windows Server 2008 R2 replica domain controller, the option to auto-install the DNS Server role is disabled or grayed out in the Active Directory Installation Wizard (DCPROMO).
Text in the Additional information field states:
DNS cannot be installed on this domain controller because this domain does not host DNS.
A screenshot of this condition is shown below:
The %windir%\debug\dcpromoui.log file on the replica domain controller being promoted shows the following:
Enter DoesDomainHostDns SLD
dcpromoui A74.A78 046C 14:07:18.800 Dns_DoesDomainHostDns testing domain name SLD
dcpromoui A74.A78 046D 14:07:19.113 SOA query returned 9003 so the domain does not host DNS
dcpromoui A74.A78 046E 14:07:19.113 Dns_DoesDomainHostDns returning false
dcpromoui A74.A78 046F 14:07:19.113 HRESULT = 0x00000000
dcpromoui A74.A78 0470 14:07:19.113 The domain does not host DNS.
- A code defect prevents the DNS Server checkbox from being enabled when promoting replica domain controllers into existing domains with single-label DNS names like "contoso" instead of best-practice fully qualified DNS name like "contoso.com" or "corp.contoso.com". This condition exists even when Microsoft DNS is installed on a domain controller and hosts Active Directory-integrated forward lookup zones for the target domain.OR
For more information regarding single label domains, visit the following Microsoft web site:
Microsoft DNS Namespace Planning Solution Center
- DCPromo checks to see if the DNS zone for the target Active Directory forest is hosted in Active Directory. If the DNS zone for the target domain is not hosted on an existing domain controller in the target forest, DCPROMO does not allow the user to install DNS during the replica promotion.
The goal of this behavior is to prevent administrators from creating duplicate copies of DNS zones with different replication scopes (i.e. file-based zones on Microsoft or third-party DNS Servers and Active Directory integrated DNS zones on domain controllers on the newly promoted domain controller).
For the first root cause, continue the promotion and install the DNS Server role after it is promoted.
For the second root cause, the DNS client and server configuration on the replica domain controller being promoted was sufficient to discover a helper domain controller in the target domain but DCPROMO has determined that the DNS zone for the domain was not Active Directory integrated.
Determine which DNS servers are going to host the zone for your Active Directory domain and what replication scopes those zones will use (Microsoft DNS versus third-party DNS, forest-wide application partition, domain-wide application partition, file-based primary, etc.)
Do not let the inability to auto-install the DNS Server role during DCPROMO block the promotion of Windows Server 2008 replica domain controllers in the domain. Server Manager can be used to install the Microsoft DNS Server role on existing domain controllers, as well as computers functioning as member or workgroup computers. DNS zones and their records can be replicated or copied between DNS servers.
Specific workarounds include:
- If the DNS zones exist on DNS servers outside the domain, consider moving the zones to an existing domain controller in the domain that hosts the DNS Server role.
- If zone data needs to be moved, configure the Microsoft DNS server to host a secondary copy of the zone, then convert that zone to be a file-based primary, then transition the zone to be Active Directory integrated as required. You can ignore this step if you have no interest in saving the DNS zone data.
- Configure the new replica domain controller being promoted to point exclusively to DNS servers hosting Active Directory integrated copies of the zone.
- Use the following command to force Windows 2000, Windows XP, Windows Server 2003, Windows Vista and Windows Server 2008 computers to dynamically register Host A or AAAA records:
- Use the following command to force Windows 2000, Windows Server 2003 and Windows Server 2008 domain controllers to dynamically register SRV records
net stop netlogon & net start netlogon
- Restart DCPROMO on the replica domain controller.
NOTE: The following information is MSInternal and should not be shared with customers.
Explanation from Jeff Westhead via email on 2008.10.10.
Installing DNS during DCPROMO auto-creates DNS application partitions
If the first DC in the domain does not host DNS then neither should any replica. The time to decide to re-architect your DNS deployment is not while you are promoting a replica!
Informal testing has shown that AD-integrated DNS may be installed on DC's other than the 1st DC in the domain and replicas will STILL have the option to install DNS Server role during DCPROMO. <end Arrenc edit>
I don’t believe this is actually a check for a third-party DNS server. This might actually not be stringent enough but it most likely works well most of the time. I believe dcpromo calls Dns_DoesDomainHostDns, which performs a SOA query for the domain name and ensures that the response asserts that the start of authority for the name is the name itself rather than some parent name. This is testing that there is, on some DNS server somewhere in the infrastructure, a DNS zone that exactly matches the name of the domain.
For example, if I am promoting a replica for "child.corp.contoso.com" but the only zone that exists is "corp.contoso.com" then this check will fail and dcpromo will assume that installing DNS on this replica is the wrong thing to do.
What dcpromo is trying to determine is whether or not DNS is required to support AD. If it is not, then dcpromo should not offer the option to install DNS. The admin should be forced to install the DNS server role manually after dcpromo if he intends to run a DNS server on this DC for some purpose that is not related to serving DNS for the Active Directory domain.
Sample Customer Experience:
SRX0808XXXXX495. 19 logs in 7.52 hours of labor. Customer type: Partner. Customer name: <removed>. Case Title: DNS Server option is grayed out during DCPROMO. L7: Customer calls when DCPROMO doesn't give the option to install DNS. L8: EasyAssist. PSS finds customer using single-label DNS domain name. PSS says promote DC and add DNS after the fact.
SRX0809XXXXX240. 6.63 hours in 16 logs. Partner. <customer name removed>. Title: DNS Role cannot be installed. Problem statement IS that checkbox to install DNS cannot be enabled in DCPROMO. PSS says DNS zone for child domain resides on parent domain DNS Servers vs. delegating to DNS Servers in child domain.
gray grey grayed greyed unselected deselected unchecked checked enabled enable disable disabled checkbox check checkmark
Article ID: 2002584 - Last Review: Sep 14, 2010 - Revision: 1