mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 13:02:58 +02:00
unbound: Fix crash on startup
Zone names should not be terminated with a dot. Fixes: #11689 Reported-by: Pontus Larsson <pontuslarsson51@yahoo.se> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -214,16 +214,16 @@ write_forward_conf() {
|
||||
case "${zone}" in
|
||||
*.in-addr.arpa)
|
||||
echo "stub-zone:"
|
||||
echo " name: ${zone}."
|
||||
echo " name: ${zone}"
|
||||
echo " stub-addr: ${server}"
|
||||
echo
|
||||
echo "server:"
|
||||
echo " local-zone: \"${zone}.\" transparent"
|
||||
echo " local-zone: \"${zone}\" transparent"
|
||||
echo
|
||||
;;
|
||||
*)
|
||||
echo "forward-zone:"
|
||||
echo " name: ${zone}."
|
||||
echo " name: ${zone}"
|
||||
echo " forward-addr: ${server}"
|
||||
echo
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user