mirror of
https://github.com/TildeNIC/site.git
synced 2026-01-24 03:50:19 +00:00
Update includes/main.php
This commit is contained in:
@@ -64,7 +64,7 @@ $dnsServers = getDnsServersInfo();
|
|||||||
//}
|
//}
|
||||||
function checkServerStatus($server) {
|
function checkServerStatus($server) {
|
||||||
$port = 53; // DNS port, change if necessary
|
$port = 53; // DNS port, change if necessary
|
||||||
$timeout = 5; // Timeout in seconds
|
$timeout = 10; // Timeout in seconds
|
||||||
|
|
||||||
$fp = @fsockopen($server, $port, $errno, $errstr, $timeout);
|
$fp = @fsockopen($server, $port, $errno, $errstr, $timeout);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user