Microsoft Windows Server DNS 組態無效區域類型

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

組態的警示產生規則。

Knowledge Base article:

摘要

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

原因

DNS 伺服器偵測到區域在登錄資料中有遺失或損毀的區域類型。

解決方式

刪除並重新建立登錄中的區域資料

儲存於 Windows 登錄中的區域資料已經損毀,就必須予以取代。您必須刪除區域的登錄機碼,然後使用 [伺服器管理員] 重新建立區域。

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

若要刪除相關的區域機碼後再重新建立區域:

注意: 不正確地編輯登錄可能會對系統造成嚴重損害。在變更登錄前,您應先備份所有重要的資料。

1.在 DNS 伺服器上按一下 [開始]。

2.在 [開始搜尋] 中輸入 regedit,然後按 ENTER。

3.在主控台樹狀目錄中展開下列機碼:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server\Zones

4. 按一下該區域,然後按一下 [編輯] 功能表上的 [刪除]。

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

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

7. 以滑鼠右鍵按一下該 DNS 伺服器,然後按一下 [新增區域]。

8.依照精靈的指示重新建立區域。

外部

http://technet.microsoft.com/en-us/library/dd349646(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.InvalidZoneType" 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">501</Value>
</ValueExpression>
</SimpleExpression>
</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.Configuration.InvalidZoneType.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>