diff --git a/src/Util/Network.php b/src/Util/Network.php index 2bc2203dd..c3ecaf606 100644 --- a/src/Util/Network.php +++ b/src/Util/Network.php @@ -495,7 +495,7 @@ class Network if (($h) && (dns_get_record($h, DNS_A + DNS_MX) || filter_var($h, FILTER_VALIDATE_IP) )) { return true; } - if (($h) && (dns_get_record($h, DNS_CNAME + DNS_MX) || filter_var($h, FILTER_VALIDATE_IP) )) { + if (($h) && dns_get_record($h, DNS_CNAME + DNS_MX)) { return true; } return false;