DNS Resolution Failure

TCPPortCheck_Sample.DNSResolutionMonitor (UnitMonitor)

Unable to resolve name to IP.

Knowledge Base article:

Summary

Could not resolve the name supplied name through the watcher nodes Domain Name Service.

Causes

This can happen for a few reasons:

Resolutions

Try the following troubleshooting steps to attempt to fix the problem

Element properties:

TargetTCPPortCheck_Sample
Parent MonitorSystem.Health.AvailabilityState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeTCPPortCheck_Sample.DNSResolution
RemotableTrue
AccessibilityPublic
Alert Message
DNS Resolution Failure
Unable to resolve name to IP. ServerName: localhost Port: 80
RunAsDefault

Source Code:

<UnitMonitor ID="TCPPortCheck_Sample.DNSResolutionMonitor" Accessibility="Public" Enabled="true" Target="TCPPortCheck_Sample" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="TCPPortCheck_Sample.DNSResolution" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="TCPPortCheck_Sample.DNSResolutionMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="OK" MonitorTypeStateID="NoDNSResolutionFailure" HealthState="Success"/>
<OperationalState ID="Error" MonitorTypeStateID="DNSResolutionFailure" HealthState="Error"/>
</OperationalStates>
<Configuration/>
</UnitMonitor>