DNS 客户端服务运行状况

Microsoft.Windows.Server.6.2.OperatingSystem.DNSClientServiceHealth (UnitMonitor)

监视 Windows 服务“DNS 客户端”的运行状况

Knowledge Base article:

摘要

DNS 客户端服务解析并高速缓存域名系统 (DNS) 名称。如果此服务已停止,则计算机将不能解析 DNS 名称,也找不到 Active Directory 域控制器。

原因

服务可以由于很多原因而停止,包括:

解决方法

可使用计算机管理控制台任务重新启动此服务:

启动计算机管理控制台

Element properties:

TargetMicrosoft.Windows.Server.6.2.OperatingSystem
Parent MonitorMicrosoft.Windows.Server.6.2.OperatingSystem.CoreServicesRollup
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DNS 客户端服务停止
服务器 {0} 上的 DNS 客户端服务已停止运行
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.6.2.OperatingSystem.DNSClientServiceHealth" Accessibility="Public" Enabled="true" Target="WindowsServer!Microsoft.Windows.Server.6.2.OperatingSystem" ParentMonitorID="Microsoft.Windows.Server.6.2.OperatingSystem.CoreServicesRollup" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.6.2.OperatingSystem.DNSClientServiceHealth.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>DNSCache</ServiceName>
</Configuration>
</UnitMonitor>