The check_dig Plugin

check_dig v2.3git (monitoring-plugins 2.3git)
Copyright (c) 2000 Karl DeBisschop <>
Copyright (c) 2002-2008 Monitoring Plugins Development Team

This plugin tests the DNS service on the specified host using dig

check_dig -l <query_address> [-H <host>] [-p <server port>]
 [-T <query type>] [-w <warning interval>] [-c <critical interval>]
 [-t <timeout>] [-a <expected answer address>] [-v]

 -h, --help
    Print detailed help screen
 -V, --version
    Print version information
    Read options from an ini file. See
    for usage and examples.
 -H, --hostname=ADDRESS
    Host name, IP Address, or unix socket (must be an absolute path)
 -p, --port=INTEGER
    Port number (default: 53)
 -4, --use-ipv4
    Force dig to only use IPv4 query transport
 -6, --use-ipv6
    Force dig to only use IPv6 query transport
 -l, --query_address=STRING
    Machine name to lookup
 -T, --record_type=STRING
    Record type to lookup (default: A)
 -a, --expected_address=STRING
    An address expected to be in the answer section. If not set, uses whatever
    was in -l
 -A, --dig-arguments=STRING
    Pass STRING as argument(s) to dig
 -w, --warning=DOUBLE
    Response time to result in warning status (seconds)
 -c, --critical=DOUBLE
    Response time to result in critical status (seconds)
 -t, --timeout=INTEGER
    Seconds before connection times out (default: 10)
 -v, --verbose
    Show details for command-line debugging (output may be truncated by
    the monitoring system)

 check_dig -H DNSSERVER -l -A "+tcp"
 This will send a tcp query to DNSSERVER for

Send email to if you have questions regarding
use of this software. To submit patches or suggest improvements, send email