mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 14:58:08 +00:00
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
|
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
|
# Ensure DNS server is given time to be resolvable
|
||||||
secs="120"
|
secs="120"
|
||||||
echo -ne " ${INFO} Time until retry: ${secs}"
|
echo -ne " ${INFO} Time until retry: ${secs}"
|
||||||
|
Loading…
Reference in New Issue
Block a user