作者 刘锟

update

... ... @@ -970,6 +970,7 @@ if (!function_exists('check_domain_record')) {
*/
function check_domain_record($domain, $server_info)
{
try {
$records = dns_get_record($domain,DNS_A);
if(count($records) != 1){
return false;
... ... @@ -981,6 +982,10 @@ if (!function_exists('check_domain_record')) {
}else{
return false;
}
}catch (\Exception $e){
errorLog('dns_get_record',['domain'=>$domain],$e);
return false;
}
}
}
... ...