Update WhoisService.php

This commit is contained in:
Hosteroid
2025-10-21 14:54:39 +03:00
parent 92319b27f7
commit 685a641873

View File

@@ -499,7 +499,7 @@ class WhoisService
// Check if domain is not found/available // Check if domain is not found/available
$whoisDataLower = strtolower($whoisData); $whoisDataLower = strtolower($whoisData);
if (preg_match('/not found|no match|no entries found|no data found|domain not found|no such domain|not registered|available for registration|does not exist|queried object does not exist/i', $whoisDataLower)) { if (preg_match('/not found|no match|no entries found|no data found|domain not found|no such domain|not registered|available for registration|does not exist|queried object does not exist|is free/i', $whoisDataLower)) {
$data['status'][] = 'AVAILABLE'; $data['status'][] = 'AVAILABLE';
$data['registrar'] = 'Not Registered'; $data['registrar'] = 'Not Registered';
return $data; return $data;