This commit is contained in:
alcapone1933
2022-12-31 07:45:48 +01:00
parent f6680e6e3c
commit 13ae818f28
5 changed files with 6 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ if ! curl -4sf --user-agent "${CURL_USER_AGENT}" "https://ipv64.net" 2>&1 > /dev
NAMESERVER_CHECK=$(dig +timeout=1 @ns1.ipv64.net 2> /dev/null)
echo "$NAMESERVER_CHECK" | grep -s -q "timed out" && { NAMESERVER_CHECK="Timeout" ; STATUS="FAIL" ; }
if [ "${STATUS}" = "FAIL" ] ; then
echo "$DATUM FEHLER !!! - 404 NAMESERVER ist nicht ist nicht erreichbar. Sie haben kein Netzwerk oder Internetzugang"
echo "$DATUM FEHLER !!! - 404 NAMESERVER ns1.ipv64.net ist nicht ist nicht erreichbar. Sie haben kein Netzwerk oder Internetzugang"
echo "=============================================================================================="
fi
if ! curl -4sf "https://google.net" 2>&1 > /dev/null; then