Microsoft Windows Server DNS 組態區域到期

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

組態的警示產生規則。

Knowledge Base article:

摘要

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

原因

區域在取得成功的區域轉送或從作為此區域來源的主要伺服器進行更新之前已到期。

解決方式

修正主要伺服器問題

次要區域的主要伺服器組態不正確,使得次要區域無法從主要伺服器進行轉送。

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

若要修正從主要伺服器進行區域轉送的問題:

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

2. 在主控台樹狀目錄中按兩下 [角色],然後按兩下 [DNS 伺服器],再按兩下 [DNS]。

3. 展開該 DNS 伺服器,然後展開含有受影響之區域的資料夾。

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

5. 在 [一般] 索引標籤上,確認清單中是否含有該區域之主要伺服器的正確 IP 位址和完整網域名稱 (FQDN)。

如果清單內容正確,請確定所列的主要伺服器是否正常運作中。請確認主要伺服器是否允許區域轉送,而且如果區域轉送受限於 IP 位址時,此伺服器是否包含在清單中。如果否的話,請修正這個問題後再重新啟動區域轉送。

若要確認本機伺服器是否包含在可接收區域轉送的伺服器之清單中:

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

2. 連線到主要伺服器。若要連線到 DNS 伺服器,請以滑鼠右鍵按一下 DNS,然後依序按一下 [連線到 DNS 伺服器] 和 [下列電腦],再輸入遠端 DNS 伺服器的 DNS 名稱或 IP 位址,然後按一下 [確定]。

3. 展開該伺服器,然後展開含有區域的資料夾。

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

5. 按一下 [允許區域轉送] (如果尚未選取的話)。

6. 執行下列其中一個動作:

如果 [只到列在 [名稱伺服器] 索引標籤上的伺服器] 已選取,請按一下 [名稱伺服器],然後確認裝載次要區域的伺服器所列在 [名稱伺服器] 清單中的 IP 位址是正確的。

如果 [只到下列伺服器] 已選取,請確認裝載次要區域的伺服器所列在清單中的 IP 位址是正確的。

若要重新啟動區域轉送:

1. 在 [伺服器管理員] 或 [DNS 管理員] 中展開 [DNS],然後展開裝載次要區域的伺服器,再展開含有區域的資料夾。

2. 以滑鼠右鍵按一下該區域,然後按一下 [從主機重新載入]。

外部

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

Element properties:

TargetMicrosoft.Windows.Server.DNS.Server
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.ZoneExpiration" 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">6527</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.DNS.Configuration.ZoneExpiration.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>