Microsoft Windows Server DNS 組態次要項目需要主要項目

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

組態的警示產生規則。

Knowledge Base article:

摘要

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

原因

DNS 伺服器偵測到次要區域在登錄資料中沒有主要 IP 位址。次要區域至少需要一個主要伺服器來當作來源。

解決方式

更新主要伺服器

次要區域必須以一個或多個裝載主要區域的主要伺服器的 IP 位址來設定。

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

若要更新次要區域的主要伺服器:

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

2.在主控台樹狀目錄中依序展開 [角色]、[DNS 伺服器] 和 [DNS]。

3. 展開該 DNS 伺服器,然後展開含有適用之次要區域的資料夾。

4. 以滑鼠右鍵按一下該次要區域,然後按一下 [內容]。

5. 按一下 [一般] 索引標籤上的 [編輯]。

6. 按一下 [編輯主要伺服器] 對話方塊中的主要伺服器 IP 位址清單,然後輸入主要伺服器的名稱或 IP 位址,再重新按一下這個清單。

7.按一下 [確定] 關閉對話方塊,然後按一下 [確定] 關閉 [<區域名稱> 內容]。

外部

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

Element properties:

TargetMicrosoft.Windows.Server.DNS.Server
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityError
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.SecondaryRequiresMasters" 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>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">503</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.DNS.Configuration.SecondaryRequiresMasters.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>