[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.
This commit is contained in:
parent
f9c34fee5a
commit
89ba3b78ff
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class dba {
|
||||||
|
|
||||||
if ($install) {
|
if ($install) {
|
||||||
if (strlen($server) && ($server !== 'localhost') && ($server !== '127.0.0.1')) {
|
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);
|
self::$error = L10n::t('Cannot locate DNS info for database server \'%s\'', $server);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue