組態的警示產生規則。
DNS 伺服器組態由設定組成,這些設定決定 DNS 伺服器如何在網路上運作,以及如何在需要時儲存與擷取它們。
DNS 伺服器機器目前沒有 DNS 網域名稱。其 DNS 名稱是不含網域的單一標籤主機名稱。
為該 DNS 伺服器指定完整網域名稱
DNS 伺服器必須設定成完整網域名稱 (FQDN) 才能正常運作,但這台電腦卻是設定成單一標籤名稱。
若要執行此程序,您必須有 Administrators 的成員資格,或者必須已被委派適當的權限。
若要為 DNS 伺服器指定 FQDN:
1. 在 DNS 伺服器上啟動 [伺服器管理員]。若要開啟 [伺服器管理員],請按一下 [開始],指向 [系統管理工具],然後按一下 [伺服器管理員]。
2. 按一下 [變更系統內容]。
3. 按一下 [電腦名稱] 索引標籤上的 [變更]。
4. 按一下 [電腦名稱/網域變更] 中的 [更多]。
5. 在這部電腦的 [主要 DNS 尾碼] 中,輸入電腦的主要網域名稱系統 (DNS) 尾碼 (接在主機名稱後面的電腦 FQDN 部分),然後按一下 [確定]。
6. 按一下 [確定],然後按一下 [關閉] 關閉所有對話方塊。
7. 重新啟動電腦,讓變更生效。若要重新啟動電腦,請按一下 [開始],然後按一下 [鎖定] 按鈕旁邊的箭頭,再按一下 [重新啟動]。
在重新啟動電腦後,DNS 伺服器會嘗試修正預設記錄,以此伺服器的新 DNS 名稱取代單一標籤名稱。不過,請確認每個區域的啟動授權 (SOA) 和名稱伺服器 (NS) 資源記錄現已使用此伺服器的正確網域名稱。
若要檢視啟動授權 (SOA) 和名稱伺服器 (NS) 資源記錄:
1. 在 DNS 伺服器上啟動 [伺服器管理員]。若要啟動 [伺服器管理員],請依序按一下 [開始] 和 [系統管理工具],然後按一下 [伺服器管理員]。
2.在主控台樹狀目錄中依序展開 [角色]、[DNS 伺服器] 和 [DNS]。
3. 針對每個區域展開含有區域本身的區域資料夾,然後展開區域,再按一下 [內容]。
4. 若要檢視啟動授權 (SOA) 資源記錄,請按一下 [啟動授權 (SOA)] 索引標籤。
5. 若要檢視名稱伺服器 (NS) 資源記錄,請按一下 [名稱伺服器] 索引標籤。
相對於直接指定主要 DNS 尾碼,您可以將電腦加入 Windows 網域,這樣 Windows 網域的 DNS 名稱就會當成伺服器名稱的主要 DNS 尾碼。
http://technet.microsoft.com/en-us/library/dd349622(v=ws.10).aspx
Target | Microsoft.Windows.Server.DNS.Server | ||
Category | Alert | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | DNS Server |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
Alert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.Windows.Server.DNS.Configuration.SingleLabelHostname" 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">414</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.DNS.Configuration.SingleLabelHostname.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>