配置的警报生成规则。
DNS 服务器配置不仅包含用于确定 DNS 服务器将如何在网络上工作的设置,而且还可指定如何存储这些设置以及在需要它们时如何检索。
DNS Server 在配置文件中遇到错误。
更正配置文件
若要更正配置文件,请使用文本编辑器(如“记事本”)打开指明的文件,该文件位于 %SystemRoot%\System32\Dns 中。更正警告或错误事件消息中指定的行,然后重新启动 DNS 服务器。
在更改配置文件之前,请创建文件的副本,以防有必要将文件恢复到以前的版本。
要执行此过程,您必须拥有 Administrators 成员身份,或者您必须被委派了适当的权限。
若要重新启动 DNS 服务器,请执行以下操作:
1.在 DNS 服务器上,启动服务器管理器。若要启动服务器管理器,请依次单击“开始”、“管理工具”和“服务器管理器”。
2.在控制台树中,依次展开“角色”、“DNS Server”和“DNS”。
3.右键单击 DNS 服务器,单击“所有任务”,然后单击“重新启动”。
注意:出现此问题的原因可能是,此前在尝试手动编辑该配置文件的过程中将错误引入了配置文件。为了避免以后出现类似的问题,请使用服务器管理器或 dnscmd 命令来修改配置文件。
http://technet.microsoft.com/en-us/library/dd349645(v=ws.10).aspx
Target | Microsoft.Windows.Server.DNS.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.Server.DNS.Configuration.FileError" 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>
<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.Server.DNS.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>