diff --git a/includes/functions.php b/includes/functions.php index 5d4e94fc03..dfb6b187a5 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -974,7 +974,7 @@ function get_astext($asn) return $cache['astext'][$asn]; } - $result = dns_get_record("AS$asn.asn.cymru.com", DNS_TXT); + $result = @dns_get_record("AS$asn.asn.cymru.com", DNS_TXT); if (!empty($result[0]['txt'])) { $txt = explode('|', $result[0]['txt']); $result = trim($txt[4], ' "');