Update TldRegistryService.php

This commit is contained in:
Hosteroid
2025-10-11 01:26:19 +03:00
parent b0b2b6a94d
commit 1d80dd282c

View File

@@ -322,7 +322,7 @@ class TldRegistryService
$stats['total_tlds']++; $stats['total_tlds']++;
try { try {
$result = $this->fetchWhoisDataFromIana($tld['tld']); $result = $this->fetchWhoisDataFromRdap($tld['tld']);
if ($result) { if ($result) {
$this->tldModel->update($tld['id'], $result); $this->tldModel->update($tld['id'], $result);
@@ -1869,7 +1869,7 @@ class TldRegistryService
} }
// Fetch WHOIS data // Fetch WHOIS data
$result = $this->fetchWhoisDataFromIana($tld); $result = $this->fetchWhoisDataFromRdap($tld);
if ($result && $existing) { if ($result && $existing) {
$this->tldModel->update($existing['id'], $result); $this->tldModel->update($existing['id'], $result);