aboutsummaryrefslogtreecommitdiff
path: root/unbound.in
diff options
context:
space:
mode:
Diffstat (limited to 'unbound.in')
-rw-r--r--unbound.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/unbound.in b/unbound.in
index 5752e6f2c412..a803615783fc 100644
--- a/unbound.in
+++ b/unbound.in
@@ -45,7 +45,8 @@ for d in $DOMAINS; do
ns="${d#*:}"
case "$unbound_insecure" in
[Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1)
- newconf="$newconf${NL}domain-insecure: \"$dn\""
+ newconf="$newconf${NL}server:$NL"
+ newconf="$newconf domain-insecure: \"$dn\"$NL"
;;
esac
newconf="$newconf${NL}forward-zone:$NL name: \"$dn\"$NL"