Microsoft Windows Server DNS 配置区域主服务器损坏

Microsoft.Windows.Server.DNS.Configuration.ZoneBadPrimaryServer (Rule)

区域的警报生成规则。

Knowledge Base article:

摘要

DNS 服务器配置不仅包含用于确定 DNS 服务器将如何在网络上工作的设置,而且还可指定如何存储这些设置以及在需要它们时如何检索。

原因

将某个区域配置为接受更新,但该区域 SOA 记录中主服务器的 A 记录在该 DNS 服务器上不可用。

解决方案

更正区域 SOA 配置问题

DNS Server 服务无法定位标记为区域的授权机构起始 (SOA) 的服务器。必须更正区域的 SOA 配置。

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

若要更正区域 SOA 配置问题,请执行以下操作:

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

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

3.右键单击 DNS 服务器,然后单击“属性”。

4.单击“起始授权机构(SOA)”,然后确保主服务器中列出了正确的服务器。如果更改此选项卡上的任何值,请单击“增量”以确保将所做更改传播到其他的授权服务器。

5.单击“名称服务器”,然后确保列表中的每个服务器都与其 IP 地址相匹配。如果不匹配,请单击“添加”来为服务器指定正确的 IP 地址。

6.单击“确定”。

7.在右侧窗格中,验证该区域是否包含主服务器的主机(A 或 AAAA)资源记录。

8.如果该区域不包含主服务器的主机资源记录,右键单击该区域,单击“新建主机”(A 或 AAAA),在“名称”(如果为空,则使用父域)中键入主服务器的名称,在“IP 地址”中键入主服务器的 IP 地址,然后单击“添加主机”。

外部

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

Element properties:

TargetMicrosoft.Windows.Server.DNS.Zone
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
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.Server.DNS.Configuration.ZoneBadPrimaryServer" Enabled="true" Target="Microsoft.Windows.Server.DNS.Zone" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>DNS Server</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">800</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.Server.DNS.Zone"]/ZoneName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.DNS.Configuration.ZoneBadPrimaryServer.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>
<SuppressionValue>$Data/Params/Param[1]$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>