diff --git a/fn/dns.php b/fn/dns.php index 108d9e0..5fe839f 100644 --- a/fn/dns.php +++ b/fn/dns.php @@ -41,8 +41,6 @@ function knotcZoneExec($zone, $cmd) { } function checkIpFormat($ip) { - if (!filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE)) - userError("IP address is on the private range."); if (!filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_RES_RANGE)) userError("IP address is on the reserved range."); if (filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4))