作者 刘锟

update

@@ -1031,7 +1031,13 @@ class Temp extends Command @@ -1031,7 +1031,13 @@ class Temp extends Command
1031 } 1031 }
1032 $domain = $domain_info['domain']; 1032 $domain = $domain_info['domain'];
1033 1033
  1034 + $check = [];
  1035 + try {
1034 $check = dns_get_record($domain, DNS_A); 1036 $check = dns_get_record($domain, DNS_A);
  1037 + } catch (\Exception $e) {
  1038 + $this->output($domain . ' | ' . $e->getMessage());
  1039 + }
  1040 +
1035 $ip = $check[0]['ip'] ?? ''; 1041 $ip = $check[0]['ip'] ?? '';
1036 $host = $check[0]['host'] ?? ''; 1042 $host = $check[0]['host'] ?? '';
1037 if (strpos($host, 'globalso.com') === false) { 1043 if (strpos($host, 'globalso.com') === false) {