diff options
author | Warren Baker <warren@decoy.co.za> | 2014-03-20 21:59:51 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2014-03-20 21:59:51 +0200 |
commit | 75e6d1b2f4438f69273202183bbdf6e204bf38e9 (patch) | |
tree | 5d68c2e042b53fb4cf440eb3715786724fafc70d | |
parent | be5aa310862b4460beed35d8e95ea068630ff313 (diff) | |
download | pfsense-75e6d1b2f4438f69273202183bbdf6e204bf38e9.zip pfsense-75e6d1b2f4438f69273202183bbdf6e204bf38e9.tar.gz |
Only display config title if option is enabled
-rw-r--r-- | etc/inc/unbound.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/inc/unbound.inc b/etc/inc/unbound.inc index 6bc5a56..563c038 100644 --- a/etc/inc/unbound.inc +++ b/etc/inc/unbound.inc @@ -191,6 +191,7 @@ EOF; if (!empty($dnsservers)) { $forward_conf .=<<<EOD +# Forwarding forward-zone: name: "." @@ -262,9 +263,7 @@ interface: ::0 include: {$g['unbound_chroot_path']}/host_entries.conf # Domain overrides -include: {$g['unbound_chroot_path']}/domainoverrides.conf - -# Forwarding +include: {$g['unbound_chroot_path']}/domainove {$forward_conf} {$custom_options} |