summaryrefslogtreecommitdiffstats
path: root/plugins/check_dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_dns.c')
-rw-r--r--plugins/check_dns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index 5feafc80..f2061636 100644
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
@@ -360,6 +360,7 @@ error_scan (char *input_buffer)
360 /* Host or domain name does not exist */ 360 /* Host or domain name does not exist */
361 else if (strstr (input_buffer, "Non-existent") || 361 else if (strstr (input_buffer, "Non-existent") ||
362 strstr (input_buffer, "** server can't find") || 362 strstr (input_buffer, "** server can't find") ||
363 strstr (input_buffer, "** Can't find") ||
363 strstr (input_buffer,"NXDOMAIN")) 364 strstr (input_buffer,"NXDOMAIN"))
364 die (STATE_CRITICAL, _("Domain %s was not found by the server\n"), query_address); 365 die (STATE_CRITICAL, _("Domain %s was not found by the server\n"), query_address);
365 366