DNS negative response
56-dns-negative.yaml
DNS
What this example does
DNS infrastructure verification: DNS negative response. It helps detect resolution, delegation or published-record problems.
Checks and behavior
- Queries DNS records or resolver behavior ([{'type': 'A', 'rcode': 'NXDOMAIN', 'exists': False}]).
- 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.
name: DNS negative response
dns:
name: missing.example.com
records:
- type: A
rcode: NXDOMAIN
exists: false
monitoring:
service_name: DNS NXDOMAIN
output: checkmk