unbound: correct forward of root domain

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
This commit is contained in:
Eric Luehrsen 2019-04-05 00:14:50 -04:00
parent b7bcf24a00
commit 43c1d6c2af
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=unbound
PKG_VERSION:=1.9.1
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE

View file

@ -592,7 +592,7 @@ unbound_forward() {
for fdomain in $UNBOUND_LIST_FORWARD ; do
{
echo "forward-zone:"
echo " name: \"$fdomain.\""
echo " name: \"${fdomain%.}.\""
for fresolver in $resolvers ; do
echo " forward-addr: $fresolver"
done