Microsoft Windows Server DNS ADI 登记失败

Microsoft.Windows.Server.DNS.ADI.EnlistmentFailed (Rule)

Active Directory 集成的警报生成规则。

Knowledge Base article:

摘要

可以配置 DNS Server 服务以使用 Active Directory 域服务 (AD DS) 来存储区域数据。这使 DNS 服务器可以依赖目录复制,从而增强安全性和可靠性,并方便管理。

原因

DNS 服务器检测到它不在目录分区的复制范围中。

解决方案

创建 DNS 目录分区

域名系统 (DNS) 区域可以存储在域中或 Active Directory 域服务 (AD DS) 的应用程序目录分区中。可以通过创建默认的应用程序目录分区来更正与访问目录分区相关的问题。

要执行此过程,您必须拥有 Administrators 成员身份,或者您必须被委派了适当的权限。

若要创建林范围和域范围的 DNS 目录分区,请执行以下操作:

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

2.在控制台树中,依次展开“角色”、“DNS Server”和“DNS”。

3.右键单击 DNS 服务器,然后单击“创建默认应用程序目录分区”。

4.按照说明创建 DNS 应用程序目录分区。

外部

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

Element properties:

TargetMicrosoft.Windows.Server.DNS.Server
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
Windows DNS - Active Directory 复制登记失败
事件 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.Server.DNS.ADI.EnlistmentFailed" 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>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">4513</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">4514</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</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.ADI.EnlistmentFailed.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>