Microsoft Windows Server DNS 服务连接错误

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

DNS 服务的警报生成规则。

Knowledge Base article:

摘要

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

原因

DNS 服务器无法连接到另一台 DNS 服务器。

解决方法

更正网络连接错误

DNS 服务器服务无法连接到另一台 DNS 服务器。要解决此问题,请执行以下操作:

确保为目标 DNS 服务器指定了正确的 IP 地址。

检查远程 DNS 服务器并确保其正常运行。

使用 nslookup 命令验证目标 DNS 服务器是否可以访问以及是否响应域名系统 (DNS) 查询。

如果远程 DNS 服务器运行不正常,请更正远程 DNS 服务器的问题,然后重试执行该操作。如果远程 DNS 服务器正常运行并且 nslookup 命令没有产生响应,则可能是两台 DNS 服务器之间的网络链接存在问题。更正网络问题,然后重试执行该操作。

外部

http://technet.microsoft.com/en-us/library/dd349691(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.ConnectionError" 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">7060</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.ConnectionError.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>