aboutsummaryrefslogtreecommitdiffstats
path: root/config/unbound/unbound.inc
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2014-02-23 20:31:39 +0200
committerWarren Baker <warren@decoy.co.za>2014-02-23 20:31:39 +0200
commitbcf8280b5c2c252fd8f00687724ac8631aa11732 (patch)
tree7d4b8f05047bbd6ec4ae483975c8b9521a694f6a /config/unbound/unbound.inc
parent09b882f22f8456f50242febe3f16f2fa9bd7d591 (diff)
downloadpfsense-packages-bcf8280b5c2c252fd8f00687724ac8631aa11732.tar.gz
pfsense-packages-bcf8280b5c2c252fd8f00687724ac8631aa11732.tar.bz2
pfsense-packages-bcf8280b5c2c252fd8f00687724ac8631aa11732.zip
If this is enabled then get_nameservers() should be used
Diffstat (limited to 'config/unbound/unbound.inc')
-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)