From bcf8280b5c2c252fd8f00687724ac8631aa11732 Mon Sep 17 00:00:00 2001 From: Warren Baker Date: Sun, 23 Feb 2014 20:31:39 +0200 Subject: If this is enabled then get_nameservers() should be used --- config/unbound/unbound.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/unbound') 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) -- cgit v1.2.3