check_dns: add warning and critical thresholds to perfdata
check_dns.c Added a bit more logic to thresholds

Added two if elses to cover when only one threshold is set.