DNS Client Service Health

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

Monitors the health of the Windows Service: DNS Client

Knowledge Base article:

Summary

Monitors that the DNS Client service is running on this domain controller. The DNS Client service (dnscache) caches Domain Name System (DNS) names and registers the full computer name for this computer. If the service is stopped, DNS names will continue to be resolved. However, the results of DNS name queries will not be cached and the computers name will not be registered. If the service is disabled, any services that explicitly depend on it will fail to start.

Causes

The DNS Client service is not running.

Resolutions

Verify that the DNS Client service is set to automatic start and is running.

Check the Application and System event logs to ensure that there are no systemic problems with the server.

Element properties:

TargetMicrosoft.Windows.Server.2012.R2.AD.DomainControllerRole
Parent MonitorMicrosoft.Windows.Server.2012.R2.AD.AvailabilityEssentialServices.AggregateMonitor
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableFalse
AccessibilityPublic
Alert Message
DNS Client Service Not Running
The DNS Client service is not running.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2012.R2.AD.AvailabilityEssentialService.DnsClient.ServiceCheck" Accessibility="Public" Enabled="true" Target="AD2012R2Core!Microsoft.Windows.Server.2012.R2.AD.DomainControllerRole" ParentMonitorID="Microsoft.Windows.Server.2012.R2.AD.AvailabilityEssentialServices.AggregateMonitor" Remotable="false" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2012.R2.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>