diff options
author | Stuart Wyatt <stuart@gogglespisano.com> | 2015-04-09 09:19:20 -0700 |
---|---|---|
committer | Stuart Wyatt <stuart@gogglespisano.com> | 2015-04-09 09:19:20 -0700 |
commit | 52d9fc60c41d93242396976091deaa5ade61e4db (patch) | |
tree | 127a7aad81f09197f4db50377dccbec57c3698a1 /config/bind/bind.inc | |
parent | a9c38e6a1977a1a5359f5bd9d244912830ab2541 (diff) | |
download | pfsense-packages-52d9fc60c41d93242396976091deaa5ade61e4db.tar.gz pfsense-packages-52d9fc60c41d93242396976091deaa5ade61e4db.tar.bz2 pfsense-packages-52d9fc60c41d93242396976091deaa5ade61e4db.zip |
BIND - add global settings for named.conf
Add field similar to custom options, but for global settings. Rather than being added to the options{} clause, these settings are added directly to named.conf.
This allows the addition of items such as key{} and server{} clauses.
Diffstat (limited to 'config/bind/bind.inc')
-rw-r--r-- | config/bind/bind.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/bind/bind.inc b/config/bind/bind.inc index 66b16464..77f3a770 100644 --- a/config/bind/bind.inc +++ b/config/bind/bind.inc @@ -154,10 +154,12 @@ function bind_sync() $hide_version = $bind['bind_hide_version']; $bind_notify = $bind['bind_notify']; $custom_options = base64_decode($bind['bind_custom_options']); + $bind_global_settings = base64_decode($bind['bind_global_settings']); $bind_logging = $bind['bind_logging']; $bind_conf = "#Bind pfsense configuration\n"; $bind_conf .= "#Do not edit this file!!!\n\n"; $bind_conf .= "$rndc_bindconf\n"; + $bind_conf .= "$bind_global_settings\n"; $bind_conf .= <<<EOD options { |