diff options
author | Warren Baker <warren@decoy.co.za> | 2014-02-23 20:31:39 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2014-02-23 20:31:39 +0200 |
commit | bcf8280b5c2c252fd8f00687724ac8631aa11732 (patch) | |
tree | 7d4b8f05047bbd6ec4ae483975c8b9521a694f6a /config/unbound | |
parent | 09b882f22f8456f50242febe3f16f2fa9bd7d591 (diff) | |
download | pfsense-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')
-rw-r--r-- | config/unbound/unbound.inc | 2 |
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) |