diff --git a/src/hostname.php b/src/hostname.php index 7023dc2..30f4a21 100644 --- a/src/hostname.php +++ b/src/hostname.php @@ -14,7 +14,7 @@ function gethost($ip) { $ires = array(); - $host = `host -s -W 1 $ip`; + $host = `host -s -W 5 $ip`; $host = ($host ? end( explode(' ', trim(trim($host), '.'))) : $ip); $ires = array(); if(in_array($host, Array('reached', 'record', '3(NXDOMAIN)'))) @@ -31,4 +31,4 @@ function gethost($ip) } return $ires; -} \ No newline at end of file +}