Microsoft Windows Server DNS 根目錄提示快取檔案錯誤

Microsoft.Windows.Server.DNS.RootHints.CacheFileError (Rule)

根目錄提示的警示產生規則。

Knowledge Base article:

摘要

根提示是管轄網域名稱系統 (DNS) 命名空間根區域的伺服器之位址和名稱。根提示可以用來解析外部名稱,例如網際網路主機電腦的名稱。

原因

DNS 伺服器遇到 Cache.dns 檔案問題。

解決方式

設定根目錄提示

在您網路中的所有 DNS 伺服器都至少設定一個根伺服器的位址,否則 DNS 伺服器將無法對其管轄區域以外的名稱之查詢進行解析。

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

若要設定 DNS 伺服器的根提示:

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

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

3.以滑鼠右鍵按一下該伺服器,然後按一下 [內容],再按一下 [根目錄提示] 索引標籤。

4.根據您能否從其他 DNS 伺服器複製根目錄提示而定,請執行下列其中一項:

按一下 [複製來源伺服器],然後輸入您能從中複製根提示的 DNS 伺服器之 IP 位址和 DNS 名稱。

按一下 [新增],然後針對每個要新增至清單中的伺服器,輸入該伺服器的完整網域名稱 (FQDN),再按一下 [解析]。

外部

http://technet.microsoft.com/en-us/library/dd349628(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.RootHints.CacheFileError" 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>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">707</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1003</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</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.RootHints.CacheFileError.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>