Hälsotillståndet för DNS-klienttjänsten

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

Övervakar Windows-tjänstens hälsa för DNS-klienten

Knowledge Base article:

Sammanfattning

DNS-klienttjänsten matchar och cachelagrar DNS-namn (Domain Name System). Om den här tjänsten stoppas kan en dator inte matcha DNS-namn och hitta Active Directory-domänkontrollanter.

Orsaker

En tjänst kan stoppas av många orsaker, bland andra:

Lösningar

Tjänsten kan startas om med hjälp av konsoluppgiften Datorhantering:

Starta konsolen Datorhantering

Element properties:

TargetMicrosoft.Windows.Server.10.0.OperatingSystem
Parent MonitorMicrosoft.Windows.Server.10.0.OperatingSystem.CoreServicesRollup
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DNS-klienttjänsten har stoppats
DNS-klienttjänsten på servern {0} har stoppats
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.10.0.OperatingSystem.DNSClientServiceHealth" Accessibility="Public" Enabled="true" Target="ServervNext!Microsoft.Windows.Server.10.0.OperatingSystem" ParentMonitorID="Microsoft.Windows.Server.10.0.OperatingSystem.CoreServicesRollup" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.10.0.OperatingSystem.DNSClientServiceHealth.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</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>