When a DNS server is installed as part of the process of creating a domain controller, it is configured automatically to use the appropriate DNS servers for name resolution, forwarding, and root hints.
When the DNS Server role is configured to integrate with Active Directory Domain Services (AD DS), the TCP/IP settings of the server are configured to use the local DNS server as the preferred DNS server. This autoconfiguration process has failed, leaving the server in an inconsistent state. To correct this condition, you must ensure that the server is configured to use itself as the preferred DNS server and that the server is properly configured to work with AD DS. Your Active Directory infrastructure will not function properly until this issue is resolved.
Ensure that the network connections of the DNS server are configured with its own IP address as the preferred DNS server.
To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.
To view and set the preferred DNS server:
Ensure that the domain-controller locator DNS records that are enumerated in the file %systemroot%\system32\config\netlogon.dns are registered on the local DNS server.
To view records in the netlogon.dns file:
The file should contain records similar to the following:
Domain. 600 IN A 157.59.85.147 _ldap._tcp.Domain. 600 IN SRV 0 100 389 Server.Domain.
_ldap._tcp.Default-First-Site-Name._sites.Domain. 600 IN SRV 0 100 389 Server.Domain.
Where Domain is the fully qualified name of the domain, and Server is the unqualified name of the DNS server (domain controller).
If these records are not registered, do the following:
To add a delegation to this DNS server:
To configure this DNS server with root hints and forwarders:
Target | Microsoft.Windows.DNSServer.2008.Server | ||
Parent Monitor | System.Health.ConfigurationState | ||
Category | ConfigurationHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.2SingleEventLog2StateMonitorType | ||
Remotable | True | ||
Accessibility | Internal | ||
Alert Message |
| ||
RunAs | Microsoft.Windows.DNSServer.Library.ActionAccount |
<UnitMonitor ID="Microsoft.Windows.DNSServer.2008.Monitor.AutoConfiguration.CorrectDNSServerConfiguration" Accessibility="Internal" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.DNSServer.2008.Server" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" RunAs="DNS!Microsoft.Windows.DNSServer.Library.ActionAccount" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DNSServer.2008.Monitor.AutoConfiguration.CorrectDNSServerConfiguration_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateIda31bfa59ebf74c6b9a50e3383a6a7390" MonitorTypeStateID="FirstEventRaised" HealthState="Warning"/>
<OperationalState ID="UIGeneratedOpStateIda6a2faec28a44047ad77500517ed50f9" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>DNS Server</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2630</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-DNS-Server-Service</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>DNS Server</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2631</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-DNS-Server-Service</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>