
­­­­­­­­­­­­­­­­­­
<!DOCTYPE html>
<html>
#!/bin/bash

IP=$(dig @127.0.0.1 uncached.scdnstest.com +short)


if [ "$IP" != "127.0.0.1" ]; then
  echo "dnsdist_health - CRIT - Unable to resolve uncached.scdnstest.com"
  exit 2
else
  echo "dnsdist_health - OK - Able to resolve uncached.scdnstest.com"
  exit 0
fi
