1
0
Fork 0
mirror of https://github.com/sujiba/pihole-unbound-hyperlocal.git synced 2025-07-11 06:05:14 +02:00

changed edns settings, added s6-ovleray for unbound, update to V2022.08.3

This commit is contained in:
sujiba 2023-05-04 01:33:02 +02:00
parent fbab33d71c
commit 5fcd8dd67e
6 changed files with 54 additions and 244 deletions

24
docker-build/unbound-run Normal file
View file

@ -0,0 +1,24 @@
#!/command/with-contenv bash
s6-echo "Starting unbound"
NAME="unbound"
DESC="DNS server"
DAEMON="/usr/sbin/unbound"
PIDFILE="/run/unbound.pid"
HELPER="/usr/lib/unbound/package-helper"
test -x $DAEMON || exit 0
# Override this variable by editing or creating /etc/default/unbound.
DAEMON_OPTS=""
if [ -f /etc/default/unbound ]; then
. /etc/default/unbound
fi
$HELPER chroot_setup
$HELPER root_trust_anchor_update 2>&1 | logger -p daemon.info -t unbound-anchor
$DAEMON -d $DAEMON_OPTS