From 0e890054c13bc10dc3148685521b842d6b11bfc9 Mon Sep 17 00:00:00 2001 From: aleksanderbl29 <73799306+aleksanderbl29@users.noreply.github.com> Date: Wed, 1 Nov 2023 18:53:17 +0100 Subject: [PATCH] add updated version of unbound according to #214 --- pihole-unbound/Dockerfile | 4 +++- pihole-unbound/unbound-run | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pihole-unbound/Dockerfile b/pihole-unbound/Dockerfile index 44f170c..b4da01a 100644 --- a/pihole-unbound/Dockerfile +++ b/pihole-unbound/Dockerfile @@ -1,11 +1,13 @@ ARG PIHOLE_VERSION FROM pihole/pihole:${PIHOLE_VERSION:-latest} -RUN apt update && apt install -y unbound +RUN echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list +RUN apt update && apt -t bullseye-backports install -y unbound COPY lighttpd-external.conf /etc/lighttpd/external.conf COPY unbound-pihole.conf /etc/unbound/unbound.conf.d/pi-hole.conf COPY 99-edns.conf /etc/dnsmasq.d/99-edns.conf RUN mkdir -p /etc/services.d/unbound COPY unbound-run /etc/services.d/unbound/run +RUN chmod 774 /etc/services.d/unbound/run ENTRYPOINT ./s6-init \ No newline at end of file diff --git a/pihole-unbound/unbound-run b/pihole-unbound/unbound-run index 46f2f13..5791b8b 100755 --- a/pihole-unbound/unbound-run +++ b/pihole-unbound/unbound-run @@ -7,7 +7,7 @@ DESC="DNS server" DAEMON="/usr/sbin/unbound" PIDFILE="/run/unbound.pid" -HELPER="/usr/lib/unbound/package-helper" +HELPER="/usr/libexec/unbound-helper" test -x $DAEMON || exit 0