網域名稱伺服器 (DNS) 健康情況

Microsoft.Windows.Server.2016.AD.AvailabilityEssentialService.DNS.ServiceCheck (UnitMonitor)

監視 Windows 服務的健全狀況:網域名稱伺服器 (DNS)

Knowledge Base article:

摘要

監視網域名稱伺服器 (DNS) 服務是否正在此網域控制站上執行。此服務可讓 DNS 用戶端透過回應 DNS 查詢與動態 DNS 更新要求來解析 DNS 名稱。

如果服務停止,將不會執行 DNS 更新。

原因

網域名稱伺服器 (DNS) 服務未執行。

解決方式

確認 DNS 伺服器服務已設定為自動啟動且正在執行。

檢查 DNS 伺服器事件記錄檔以確定服務正在正確運作。

Element properties:

TargetMicrosoft.Windows.Server.2016.AD.DomainController.DNS
Parent MonitorSystem.Health.AvailabilityState
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.2016.AD.AvailabilityEssentialService.DNS.ServiceCheck" Accessibility="Public" Enabled="true" Target="AD2016Core!Microsoft.Windows.Server.2016.AD.DomainController.DNS" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="false" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2016.AD.AvailabilityEssentialService.DNS.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>dns</ServiceName>
</Configuration>
</UnitMonitor>