From b6adeb50a8ceeed9afdef49100577ab2bbf291cd Mon Sep 17 00:00:00 2001 From: DL6ER Date: Thu, 15 Dec 2016 18:32:01 +0100 Subject: [PATCH] Add API_GET_UPSTREAM_DNS_HOSTNAME option --- data.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;