X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fdba.php;h=b24d9b409d00125ad7349848d822089a5e908aff;hb=e7680a40d4ae5cf7529eb36d90c63d14e4531faf;hp=4252558346a384020eaa07b2e6afacc76c650985;hpb=e382dfcfbd6f5aebfb0b25ab0ceb05056b69857a;p=friendica.git diff --git a/include/dba.php b/include/dba.php index 4252558346..b24d9b409d 100644 --- a/include/dba.php +++ b/include/dba.php @@ -54,7 +54,7 @@ class dba { if ($install) { // server has to be a non-empty string that is not 'localhost' and not an IP if (strlen($server) && ($server !== 'localhost') && filter_var($server, FILTER_VALIDATE_IP) === false) { - 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; }