Query the SOA record of the specified domain from a nameserver and check that the server is authoritative for the domain.
Please note that this plugin requires PyDNS to be installed.
The DNS plugin can be used as a substitution for a ping plugin which is currently missing from the downtime distribution (mostly because sending icmp pings would require root privileges). Because DNS queries are very lightweight they can be used (with frequent intervals) to monitor host uptimes (if a DNS server is installed on the target host).
Parameters
- server: DNS server to query
- domain: DNS domain name
Example
service DNS, interval 10 min server cmeerw.net, domain cmeerw.net
