Strict resolver comparison with severity
82-dns-compare-strict.yaml
DNS
What this example does
DNS infrastructure verification: Strict resolver comparison with severity. It helps detect resolution, delegation or published-record problems.
Checks and behavior
- Queries DNS records or resolver behavior ([{'type': 'A', 'min_count': 1}]).
- Formats results for checkmk output.
Adapt example domains, addresses, credentials and thresholds to your environment before use.
YAML configuration
# Copyright (c) 2026 mati peterson. Maintainer: mati peterson <ipsonic@mailbox.org>. Project: https://ipsonic.com/probe/. Disclaimer: Provided AS IS, without warranty of any kind. Use at your own risk; validate checks and configurations before production use.
# Example template: replace example.com and documentation IPs before use.
name: Strict resolver comparison with severity
dns:
name: api.example.com
compare_nameservers:
- 192.0.2.53
- 192.0.2.54
require_identical: true
records:
- type: A
min_count: 1
monitoring:
output: checkmk
on_failure: critical
assertions:
- id: dns.a.comparison
severity: warning