mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-25 07:33:43 +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
1 changed files with 0 additions and 8 deletions
|
@ -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 a new issue