Skip to content

Commit

Permalink
add updated version of unbound according to chriscrowe#214
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksanderbl29 committed Nov 1, 2023
1 parent ff993e1 commit 0e89005
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pihole-unbound/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion pihole-unbound/unbound-run
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0e89005

Please sign in to comment.