Nagios check_dig Plugin

    check_dig v2.3.3.git (nagios-plugins 2.3.3)
    Copyright (c) 2000 Karl DeBisschop <>
    Copyright (c) 2002-2014 Nagios Plugin Development Team

    This plugin test 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>] [-r <retries>] [-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
     -r, --retries=INTEGER
        Number of retries passed to dig, timeout is divided by this value (Default: 3)
     -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:<timeout state>
        Seconds before connection times out (default: 10)
        Optional ":<timeout state>" can be a state integer (0,1,2,3) or a state STRING
     -v, --verbose
        Show details for command-line debugging (Nagios may truncate output)

     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 to