Revision 620a9745
Added by Viktor Gurov about 3 years ago
src/etc/inc/system.inc | ||
---|---|---|
2817 | 2817 |
|
2818 | 2818 |
if ($proto == 'inet') { |
2819 | 2819 |
$gdns = array('8.8.8.8', '8.8.4.4'); |
2820 |
} else { |
|
2820 |
} elseif ($proto == 'inet6') {
|
|
2821 | 2821 |
$gdns = array('2001:4860:4860::8888', '2001:4860:4860::8844'); |
2822 |
} else { |
|
2823 |
$gdns = array('8.8.8.8', '8.8.4.4', '2001:4860:4860::8888', '2001:4860:4860::8844'); |
|
2822 | 2824 |
} |
2823 | 2825 |
$nameservers = array_merge($gdns, get_dns_nameservers()); |
2824 | 2826 |
$test = 0; |
Also available in: Unified diff
check_dnsavailable() improvement. Fixes #13162