diff --git a/data.php b/data.php index 9be2af33..70eaed82 100644 --- a/data.php +++ b/data.php @@ -124,7 +124,10 @@ } } - resolveIPs($destinations); + if(istrue($setupVars["API_GET_UPSTREAM_DNS_HOSTNAME"])) + { + resolveIPs($destinations); + } return $destinations;