Project

General

Profile

Bug #15127 ยป 15127.patch

workaround - Marcos M, 12/30/2023 10:14 PM

View differences:

src/etc/inc/system.inc
function check_dnsavailable($proto='inet') {
if ($proto == 'inet') {
$gdns = array('8.8.8.8', '8.8.4.4');
$gdns = array('208.123.73.80', '34.197.184.5');
} elseif ($proto == 'inet6') {
$gdns = array('2001:4860:4860::8888', '2001:4860:4860::8844');
$gdns = array('2610:160:11:11::80', '2600:1f10:4c5e:6701:e4b2:c059:13c5:64fb');
} else {
$gdns = array('8.8.8.8', '8.8.4.4', '2001:4860:4860::8888', '2001:4860:4860::8844');
$gdns = array('208.123.73.80', '34.197.184.5', '2610:160:11:11::80', '2600:1f10:4c5e:6701:e4b2:c059:13c5:64fb');
}
$nameservers = array_merge($gdns, get_dns_nameservers());
$test = 0;
    (1-1/1)