diff --git a/src/etc/config.xml.sample b/src/etc/config.xml.sample index 4bbad325a..fcb631447 100644 --- a/src/etc/config.xml.sample +++ b/src/etc/config.xml.sample @@ -270,7 +270,6 @@ 1 - 1 diff --git a/src/wizard/system.xml b/src/wizard/system.xml index 00e59bb12..f99ec92fc 100644 --- a/src/wizard/system.xml +++ b/src/wizard/system.xml @@ -59,6 +59,10 @@ if (isset($config['wizardtemp'])) { 2 General Information + + General Information + listtopic + Hostname input @@ -102,6 +106,26 @@ if (isset($config['wizardtemp'])) { checkbox system->dnsallowoverride + + Unbound DNS + listtopic + + + Enable Resolver + checkbox + 1 + unbound->enable + + + Enable DNSSEC Support + checkbox + unbound->dnssec + + + Harden DNSSEC data + checkbox + unbound->dnssecstripped + Next submit @@ -129,6 +153,10 @@ if (!empty($_POST['secondarydnsserver']) && !is_ipaddr($_POST['secondarydnsserve } if (count($input_errors)) { $stepid--; +} else { + if (isset($config['unbound']['forwarding'])) { + unset($config['unbound']['forwarding']); + } } ]]> diff --git a/src/www/wizard.php b/src/www/wizard.php index 3fe4aefc3..959b4af12 100644 --- a/src/www/wizard.php +++ b/src/www/wizard.php @@ -736,7 +736,7 @@ function showchange() { break; case "listtopic": - echo "" . gettext($field['name']) . "
\n"; + echo "" . gettext($field['name']) . "\n"; break; case "subnet_select":