Работоспособность службы DNS-клиента

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

Отслеживание работоспособности службы Windows для DNS-клиента

Knowledge Base article:

Краткое описание

Служба DNS-клиента разрешает и кэширует DNS-имена. Если данная служба остановлена, компьютер не сможет разрешить DNS-имена и найти контроллер домена Active Directory.

Причины

Служба может остановиться по нескольким причинам:

Решения

Службу можно перезапустить с помощью задачи консоли управления компьютером:

Запустить консоль управления компьютером

Element properties:

TargetMicrosoft.Windows.Server.2008.OperatingSystem
Parent MonitorMicrosoft.Windows.Server.2008.OperatingSystem.CoreServicesRollup
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Служба DNS остановлена
Служба DNS на сервере {0} прекратила работу
RunAsDefault

Source Code:

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