Microsoft Windows Server DNS 服务依赖关系失败

Microsoft.Windows.DNSServer.2016.Service.DependencyFailed (Rule)

DNS 服务的警报生成规则。

Knowledge Base article:

摘要

DNS 服务器服务响应来自 DNS 客户端计算机对名称解析服务的请求。域名系统 (DNS) 是一项协议,利用该协议,计算机通过向 DNS 服务器提交目标计算机的名称,即可获得另一台计算机的数字 IP 地址。DNS 服务器服务的问题会导致网络性能下降,甚至会阻止网络计算机之间相互定位。

原因

DNS 服务器无法启动,因为它依赖的 NTDS 服务未启动。

解决方法

启动 Active Directory 域服务

由于一个或多个区域与 Active Directory 域服务 (AD DS) 集成,并且 AD DS 不在运行,因此 DNS 服务器服务无法启动。必须确保 AD DS 在运行,然后启动 DNS 服务器服务。如果需要,请启动 AD DS,然后再启动 DNS 服务器服务。

若要启动 AD DS,请执行以下操作:

1.在 DNS 服务器上,启动“服务”。要启动“服务”,请依次单击“开始”、“管理工具”和“服务”。

2.双击 Active Directory 域服务。

3.如果该服务尚未启动,在“启动类型”中,选择“自动”,然后单击“启动”。

如果该服务已经在运行,请重新启动计算机。

若要重新启动计算机,请执行以下操作:

单击“开始”,单击“挂锁”按钮旁边的箭头,然后单击“重新启动”。

启动 AD DS 或重新启动计算机后,如果 DNS 服务器服务尚未运行,请启动该服务。

若要启动 DNS 服务器服务,请执行以下操作:

1.在 DNS 服务器上,启动“服务”。要启动“服务”,请依次单击“开始”、“管理工具”和“服务”。

2.在服务列表中,右键单击 DNS 服务器,然后单击“属性”。

3.在“启动类型”列表中,选择“自动”。

4.单击“启动”。

外部

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

Element properties:

TargetMicrosoft.Windows.DNSServer.2016.Server
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
Windows DNS - 依赖关系失败

事件 ID:{0}
事件源:{1}
事件日志:{2}
事件说明:{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.DNSServer.2016.Service.DependencyFailed" Enabled="true" Target="Microsoft.Windows.DNSServer.2016.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.DNSServer.2016.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>