From 89ba3b78ff5e16301aba8f79ae5568edf4c34ed3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marcus=20M=C3=BCller?= Date: Thu, 12 Apr 2018 19:32:04 +0200 Subject: [PATCH] [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. --- include/dba.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5