DNS 客户端服务运行状况

Microsoft.Windows.Server.2012.AD.AvailabilityEssentialService.DnsClient.ServiceCheck (UnitMonitor)

监视 Windows 服务:DNS 客户端的运行情况

Knowledge Base article:

摘要

监视 DNS 客户端服务是否正在此域控制器上运行。DNS 客户端服务(dnscache)缓存域名系统(DNS)名称并注册此计算机的计算机全名。如果该服务已停止,将继续解析 DNS 名称。但是,将不会缓存 DNS 名称队列的结果,且不注册计算机名称。如果该服务已禁用,将无法启动显式依赖它的服务。

原因

DNS 客户端服务未运行。

解决方案

验证 DNS 客户端服务是否已设置为自动启动并且正在运行。

检查应用程序和系统事件日志,以确保服务器未出现系统性问题。

Element properties:

TargetMicrosoft.Windows.Server.2012.AD.DomainControllerRole
Parent MonitorMicrosoft.Windows.Server.2012.AD.AvailabilityEssentialServices.AggregateMonitor
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableFalse
AccessibilityPublic
Alert Message
DNS 客户端服务未运行
DNS 客户端服务未运行。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2012.AD.AvailabilityEssentialService.DnsClient.ServiceCheck" Accessibility="Public" Enabled="true" Target="AD2012Core!Microsoft.Windows.Server.2012.AD.DomainControllerRole" ParentMonitorID="Microsoft.Windows.Server.2012.AD.AvailabilityEssentialServices.AggregateMonitor" Remotable="false" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2012.AD.AvailabilityEssentialService.DnsClient.ServiceCheck.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Warning" MonitorTypeStateID="NotRunning" HealthState="Warning"/>
<OperationalState ID="Success" MonitorTypeStateID="Running" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>.</ComputerName>
<ServiceName>dnscache</ServiceName>
<CheckStartupType>true</CheckStartupType>
</Configuration>
</UnitMonitor>