check_dns.c Added a bit more logic to thresholds