Problem overview
DNS resolution failures can silently disrupt endpoint connectivity, application access, and domain-joined operations across your environment. Without proactive monitoring, these issues often go undetected until end-users report problems—by which point productivity has already been impacted. This policy simplifies DNS health monitoring by alerting you when a device fails to resolve one or more configured hostnames, enabling fast response before issues escalate.
Monitors
- Linux Monitor - DNS Servers Linux DNS (Script monitor)
- Windows Monitor - DNS Servers Linux DNS (Script monitor)
- macOS Monitor - DNS Servers Linux DNS (Script monitor)
The DNS Monitoring Policy tracks DNS resolution health across Windows, macOS, and Linux devices by periodically attempting to resolve a set of hostnames you define. If resolution fails—whether due to misconfigured DNS servers, network issues, or corrupted resolver caches—an alert is triggered so you can take immediate action. The alert is automatically resolved once DNS resolution succeeds again.
While this policy focuses on monitoring and alerting, it can be paired with a "Flush DNS Cache" automation to attempt automated remediation by clearing the local DNS cache on affected devices.
The policy is flexible, allowing you to customize the hostnames being tested and tailor monitoring to different device roles, such as domain-joined workstations, remote endpoints, or servers relying on internal DNS.
Use cases
- Detecting DNS resolution failures on endpoints before users notice connectivity issues.
- Monitoring remote or off-network devices where DNS misconfiguration is more common.
- Verifying that domain-joined machines can resolve internal Active Directory hostnames.
- Supporting network change validation after DNS infrastructure updates.
Recommendations
- Hostname Configuration: Define a mix of internal and external hostnames (e.g., your internal domain and a reliable public hostname like google.com) to distinguish between internal DNS failures and broader connectivity issues.
- Pairing Automation: Import the "Flush DNS Cache" automation for automated remediation that clears the DNS resolver cache on affected devices without requiring manual intervention.
- Testing Instructions: Apply the policy to a small group of devices first to validate alert accuracy and confirm the hostnames you've chosen are appropriate for your environment.
- Alert Management: Route DNS alerts to your networking or desktop support team to ensure prompt investigation.