Microsoft Windows Server DNS 區域轉送失敗

Microsoft.Windows.Server.DNS.Zone.TransferFailed (Rule)

區域的警示產生規則。

Knowledge Base article:

摘要

為伺服器備援提供網域名稱系統 (DNS) 可以增強容錯與負載平衡。針對任何指定的區域,DNS 伺服器可以做為主要伺服器,亦即區域的授權單位,或是做為次要伺服器,亦即從區域的主要伺服器或另一個次要伺服器取得它的區域資料。這種程序被稱作區域轉送。

原因

區域轉送失敗。

解決方式

檢查主要 DNS 伺服器

如果在本機 DNS 伺服器上無法對次要區域進行區域轉送,請檢查這個區域是否設定成使用正確的主要伺服器。

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

若要檢查次要區域的主要伺服器:

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

2. 在主控台樹狀目錄中展開次要 DNS 伺服器,然後展開含有該區域的資料夾。

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

4. 在 [一般] 索引標籤上,確認 [主要伺服器] 清單中含有該區域的一個或多個權威伺服器。

5. 按一下 [編輯],然後確認所列伺服器的 IP 位址都已經過驗證。

如果該區域在主要 DNS 伺服器上的組態似乎是正確的,請確定主要 DNS 伺服器的運作正常,而且可讓次要 DNS 伺服器存取。

設定權威伺服器

檢查次要區域的主要伺服器是否為該區域的權威伺服器,而且主要伺服器已設定為將該區域轉送到次要伺服器。

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

若要把主要伺服器設定成將區域轉送到次要伺服器:

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

2. 在主控台樹狀目錄中按兩下該伺服器,然後按兩下含有該區域的資料夾。

3. 按一下該區域,然後依序按一下 [動作] 和 [內容]。

4. 在 [一般] 索引標籤上,記下列在 [主要伺服器] 中的伺服器 IP 位址。

5.在主控台樹狀目錄中以滑鼠右鍵按一下 [DNS],然後按一下 [連線到 DNS 伺服器]。

6. 按一下 [下列電腦],然後輸入主要 DNS 伺服器的 IP 位址,再按一下 [確定]。

7. 在主控台樹狀目錄中展開主要 DNS 伺服器,然後展開含有該區域的資料夾。

注意:如果該區域不在這個資料夾中,表示伺服器不是該區域的權威伺服器。在這種情況下,您必須將次要伺服器設定成從正確的主要伺服器轉送該區域。

8. 以滑鼠右鍵按一下該區域,然後按一下 [內容],再按一下 [名稱伺服器] 索引標籤。

9. 確認所列出的次要伺服器的 IP 位址是正確的。若要修正清單,請執行下列其中一個動作:?如果次要伺服器不在清單中,請按一下 [新增]。

如果次要伺服器的 IP 位址不正確,請在清單中按一下該伺服器,然後按一下 [編輯]。

10. 按一下 [區域轉送] 索引標籤。

11. 確認已選取 [允許區域轉送]。

12. 如果已選取 [只到下列伺服器],請確認所列出的次要伺服器的 IP 位址是正確的。若要修正清單,請按一下 [編輯],然後在 [次要伺服器的 IP 位址] 中輸入次要伺服器的 DNS 名稱或 IP 位址。

外部

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

Element properties:

TargetMicrosoft.Windows.Server.DNS.Zone
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.Zone.TransferFailed" 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="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>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">6523</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">6524</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">6525</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">6534</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</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.Zone.TransferFailed.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>