unbound: Drop live checks

Those checks have caused us a lot of trouble and are now being dropped.

Users must make sure to choose servers that support DNSSEC or enable
any of the tunneling mechanisms to be able to reach them.

Fixes: #12239
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2020-01-07 13:06:09 +00:00
parent ffc46751f2
commit 4e2d3325af
2 changed files with 5 additions and 241 deletions

View File

@@ -1,13 +1,4 @@
#!/bin/bash
# If network has not fully been brought up here, we start unbound
# so that all following scripts can rely on DNS resolution
pidof unbound > /dev/null
if [ "${?}" = "0" ]; then
# unbound is run so update the forwarders
/etc/init.d/unbound update-forwarders
else
# Start unbound if it is not running, yet
/etc/init.d/unbound start
fi
# Update DNS forwarders
exec /etc/init.d/unbound update-forwarders