Microsoft Windows Server DNS 組態區域錯誤主要伺服器

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

區域的警示產生規則。

Knowledge Base article:

摘要

DNS 伺服器組態由設定組成,這些設定決定 DNS 伺服器如何在網路上運作,以及如何在需要時儲存與擷取它們。

原因

已將區域設定為接受更新,但此 DNS 伺服器上沒有區域 SOA 記錄中之主要伺服器的 A 記錄。

解決方式

修正區域 SOA 組態問題

DNS 伺服器服務找不到公認為區域的啟動授權 (SOA) 的伺服器。您必須修正區域的 SOA 組態。

若要執行此程序,您必須有 Administrators 的成員資格,或者必須已被委派適當的權限。

若要修正區域 SOA 組態問題:

1. 在 DNS 伺服器上啟動 [伺服器管理員]。若要啟動 [伺服器管理員],請依序按一下 [開始] 和 [系統管理工具],然後按一下 [伺服器管理員]。

2.在主控台樹狀目錄中依序展開 [角色]、[DNS 伺服器] 和 [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 - 組態 - 區域錯誤主要伺服器
事件識別碼: {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>