mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
unbound: initskript change server for dns test
if the system time is incorrect DNSSec validation fail but it fails sometimes for pool.ntp.org already but not for ping.ipfire.org. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -267,7 +267,7 @@ get_memory_amount() {
|
||||
|
||||
fix_time_if_dns_fails() {
|
||||
# If DNS is working, everything is fine
|
||||
if resolve "ping.ipfire.org" &>/dev/null; then
|
||||
if resolve "ipfire.pool.ntp.org" &>/dev/null; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user