unbound: Fix DNS forwarder test

The previous version aborted when the validation test
suceeded, but this is not always sufficient in case a
provider filters any DNSKEY, DS or RRSIG records.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2016-12-01 17:13:07 +00:00
parent cd812106b1
commit 2aa15dee66
3 changed files with 11 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
etc/system-release
etc/issue
etc/rc.d/init.d/unbound
etc/syslog.conf
etc/unbound/unbound.conf
srv/web/ipfire/cgi-bin/fwhosts.cgi

View File

@@ -43,6 +43,9 @@ ldconfig
# Update Language cache
#/usr/local/bin/update-lang-cache
# Reload unbound upstream name servers
/etc/init.d/unbound update-forwarders
# Start services
/etc/init.d/sysklogd restart
if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then