Microsoft Windows Server DNS Service Dependency Failed

Microsoft.Windows.Server.DNS.Service.DependencyFailed (Rule)

Alert generating rule for the DNS Service.

Knowledge Base article:

Summary

The DNS Server service responds to requests from DNS client computers for name resolution services. Domain Name System (DNS) is a protocol that enables a computer to obtain the numeric IP address of another computer by submitting the target computer's name to a DNS server. Problems with the DNS Server service can cause network performance to degrade or even prevent network computers from being able to locate each other.

Causes

The DNS server could not start because it is dependent on the NTDS service which is not started.

Resolutions

Start Active Directory Domain Services

Because one or more zones are integrated with Active Directory Domain Services (AD DS), the DNS Server service was not able to start because AD DS is not running. You must ensure that AD DS is running before the DNS Server service starts. If necessary, start AD DS, and then start the DNS Server service.

To start AD DS:

1.On the DNS server, start Services. To start Services, click Start, click Administrative Tools, and then click Services.

2.Double-click Active Directory Domain Services.

3.If the service is not started, in Startup type, select Automatic, and then click Start.

If the service was already running, restart the computer.

To restart the computer:

Click Start, click the arrow next to the Lock button, and then click Restart.

After starting AD DS or restarting the computer, start the DNS Server service if it is not already running.

To start the DNS Server service:

1.On the DNS server, start Services. To start Services, click Start, click Administrative Tools, and then click Services.

2.In the services list, right-click DNS Server, and then click Properties.

3.In the Startup type list, select Automatic.

4.Click Start.

External

http://technet.microsoft.com/en-us/library/dd349595(v=ws.10).aspx

Element properties:

TargetMicrosoft.Windows.Server.DNS.Server
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
Windows DNS - Dependency Failed

Event ID: {0}
Event Source: {1}
Event Log: {2}

Event Description: {3}
Event LogDNS Server

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.Windows.Server.DNS.Service.DependencyFailed" Enabled="true" Target="Microsoft.Windows.Server.DNS.Server" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>DNS Server</LogName>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">10</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.DNS.Service.DependencyFailed.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDisplayNumber$</AlertParameter1>
<AlertParameter2>$Data/EventSourceName$</AlertParameter2>
<AlertParameter3>$Data/Channel$</AlertParameter3>
<AlertParameter4>$Data/EventDescription$</AlertParameter4>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>