構成のアラート生成ルールです。
DNS サーバーの構成は、ネットワーク上での DNS サーバーの機能を指定した設定と、それらの設定を格納し、必要なときに取得する方法で構成されます。
DNS サーバーが構成ファイルでエラーに遭遇しました。
構成ファイルを修正する
構成ファイルを修正するには、テキスト エディター (メモ帳など) で構成ファイルを開きます。構成ファイルは %SystemRoot%\System32\Dns にあります。警告またはエラー イベント メッセージに示されている行を修正し、DNS サーバーを再起動します。
このファイルの以前のバージョンに戻す必要がある場合に備えて、構成ファイルを変更する前にファイルのコピーを作成しておきます。
この操作を行うには、Administrators のメンバーとしての権限、またはそれに相当する代わりの権限が必要です。
DNS サーバーを再起動するには、次の手順を実行します。
1. DNS サーバーで、サーバー マネージャーを起動します。サーバー マネージャーを起動するには、[スタート] ボタンをクリックし、[管理ツール]、[サーバー マネージャー] の順にクリックします。
2. コンソール ツリーで、[役割]、[DNS サーバー]、[DNS] の順に展開します。
3. DNS サーバーを右クリックし、[すべてのタスク] をクリックして、[再起動] をクリックします。
注:この問題は、構成ファイルを以前に手動で編集したときに生じたエラーが原因であると考えられます。今後、同様の問題が発生しないように、サーバー マネージャーまたは dnscmd コマンドを使用して、構成ファイルを変更するようにしてください。
http://technet.microsoft.com/en-us/library/dd349645(v=ws.10).aspx
Target | Microsoft.Windows.DNSServer.2016.Server | ||
Category | Alert | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
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.FileError" 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>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(1205|1206|1501|1505|2003)$</Pattern>
</RegExExpression>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.DNSServer.2016.Configuration.FileError.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>