aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/unbound/unbound.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/unbound/unbound.inc b/config/unbound/unbound.inc
index fb077194..9216b94e 100644
--- a/config/unbound/unbound.inc
+++ b/config/unbound/unbound.inc
@@ -544,7 +544,7 @@ EOD;
// Set up forward-zones if configured
if ($unbound_config['forwarding_mode'] == "on") {
$dnsservers = array();
- if (!isset($config['system']['dnsallowoverride'])) {
+ if (isset($config['system']['dnsallowoverride'])) {
$ns = array_unique(get_nameservers());
foreach($ns as $nameserver) {
if ($nameserver)