DNS primary/secondary consistency
149-dns-primary-secondary-consistency.yaml
Infrastructure
What this example does
DNS primary/secondary consistency.
Checks and behavior
- Compares DNS responses from two configured resolvers; requires identical answers, not authoritative zone-transfer verification.
Replace example.com, documentation IPs, secrets and thresholds before production use.
YAML configuration
# Compares DNS responses from two configured resolvers; requires identical answers, not authoritative zone-transfer verification.
name: DNS primary/secondary consistency
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: nagios, on_failure: critical}