組態的警示產生規則。
DNS 伺服器組態包含各種設定,而這些設定決定了 DNS 伺服器在網路上的運作方式,以及在需要時的儲存與擷取方式。
DNS 伺服器無法載入或初始化外掛程式 DLL。
更正外掛程式問題
事件資料即為外掛程式的動態連結程式庫 (DLL) 進行載入或初始化嘗試所傳回的錯誤碼。請修正外掛程式錯誤,或是使用 dnscmd /Config /ServerLevelPluginDLL 命令來從 DNS 伺服器組態移除外掛程式。
若要執行此程序,您必須有 Administrators 的成員資格,或已獲委派適當的授權。
若要移除外掛程式 DLL:
1. 在 DNS 伺服器上開啟命令提示字元。若要以較高的權限來開啟 [命令提示字元] 視窗,請按一下 [開始] 並指向 [所有程式],然後按一下 [附屬應用程式],接著以滑鼠右鍵按一下 [命令提示字元],然後按一下 [以系統管理員身分執行]。
2. 輸入下列命令,然後按 ENTER:
dnscmd /Config /ServerLevelPluginDLL
http://technet.microsoft.com/en-us/library/dd349678(v=ws.10).aspx
Target | Microsoft.Windows.DNSServer.2016.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.DNSServer.2016.Configuration.PluginInitFailed" Enabled="true" Target="Microsoft.Windows.DNSServer.2016.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">150</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.DNSServer.2016.Configuration.PluginInitFailed.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>