From: Marcus Müller Date: Thu, 12 Apr 2018 17:32:04 +0000 (+0200) Subject: [BUGFIX] DB: Remove host DNS_PTR check X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=89ba3b78ff5e16301aba8f79ae5568edf4c34ed3;p=friendica.git [BUGFIX] DB: Remove host DNS_PTR check DNS_PTR checks fail on some domains and result in the return value `false`, even if the domain is valid and reachable. --- diff --git a/include/dba.php b/include/dba.php index 586fc092fb..208cf58121 100644 --- a/include/dba.php +++ b/include/dba.php @@ -53,7 +53,7 @@ class dba { if ($install) { if (strlen($server) && ($server !== 'localhost') && ($server !== '127.0.0.1')) { - if (! dns_get_record($server, DNS_A + DNS_CNAME + DNS_PTR)) { + if (! dns_get_record($server, DNS_A + DNS_CNAME)) { self::$error = L10n::t('Cannot locate DNS info for database server \'%s\'', $server); return false; }