<p>A simple replace of strstr with strcasestr should fix it I guess</p>

<p>--- a/plugins/check_dig.c<br>
+++ b/plugins/check_dig.c<br>
@@ -125,7 +125,7 @@ main (int argc, char **argv)<br>
         if (verbose)<br>
           printf ("%s\n", chld_out.line[i]);</p>

<ul>
<li>       if (strstr (chld_out.line[i], (expected_address == NULL ? query_address : expected_address)) != NULL) {</li>
<li>       if (strcasestr (chld_out.line[i], (expected_address == NULL ? query_address : expected_address)) != NULL) {
       msg = chld_out.line[i];
       result = STATE_OK;</li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br><a href='https://github.com/monitoring-plugins/monitoring-plugins/issues/1233#issuecomment-34623003'>Reply to this email on GitHub</a>.<img src='https://github.com/notifications/beacon/5514713__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwNzU2NTYyOSwiZGF0YSI6eyJpZCI6MjUxNzI2MjR9fQ==--5af7c8fd5107221f9072a44be134b2bfd54fe6ca.gif' height='1' width='1'></p>