DNS 用戶端服務健全狀況

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

監視 DNS 用戶端 Windows 服務的健全狀況

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>