DNS check in gravity should not check for FTL as it might not be the host's name server
Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
parent
a57d539098
commit
ba2d10c65e
|
@ -309,14 +309,6 @@ gravity_CheckDNSResolutionAvailable() {
|
|||
fi
|
||||
|
||||
|
||||
# Determine error output message
|
||||
if pgrep pihole-FTL &>/dev/null; then
|
||||
echo -e " ${CROSS} DNS resolution is currently unavailable"
|
||||
else
|
||||
echo -e " ${CROSS} DNS service is not running"
|
||||
"${PIHOLE_COMMAND}" restartdns
|
||||
fi
|
||||
|
||||
# Ensure DNS server is given time to be resolvable
|
||||
secs="120"
|
||||
echo -ne " ${INFO} Time until retry: ${secs}"
|
||||
|
|
Loading…
Reference in New Issue