域名服务器(DNS)运行状况

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

监视 Windows 服务:域名服务器(DNS)的运行状况

Knowledge Base article:

摘要

监视域名服务器(DNS)服务是否正在此域控制器上运行。此服务使 DNS 客户端能够通过应答 DNS 查询和动态 DNS 更新请求来解析 DNS 名称。

如果该服务已停止,则不会发生 DNS 更新。

原因

域名服务器(DNS)服务未运行。

解决方案

验证 DNS 服务器服务是否已设置为自动启动并且正在运行。

检查 DNS 服务器事件日志,以确保该服务在正常运行。

Element properties:

TargetMicrosoft.Windows.Server.2012.R2.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.2012.R2.AD.AvailabilityEssentialService.DNS.ServiceCheck" Accessibility="Public" Enabled="true" Target="AD2012R2Core!Microsoft.Windows.Server.2012.R2.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.2012.R2.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>
<CheckStartupType>true</CheckStartupType>
</Configuration>
</UnitMonitor>