diff --git a/.hta_slug/dns-tools-get-a-record.php b/.hta_slug/dns-tools-get-a-record.php index 5594825..697fa70 100644 --- a/.hta_slug/dns-tools-get-a-record.php +++ b/.hta_slug/dns-tools-get-a-record.php @@ -68,14 +68,7 @@ $lookupTimeMs = round((microtime(true) - $startTime) * 1000, 2); // ------------------------------- // Resolver info // ------------------------------- -$resolver = 'system'; -$resolvConf = '/etc/resolv.conf'; -if (is_readable($resolvConf)) { - $content = file_get_contents($resolvConf); - if (preg_match('/nameserver\s+([^\s]+)/', $content, $m)) { - $resolver = $m[1]; - } -} +$resolver = 'hosting-default'; // ------------------------------- // Provider detection (heuristic)