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

chroot: removed trailing /

This commit is contained in:
simon 2022-04-03 15:51:51 +02:00
parent 07c98d5847
commit e21ccdc7e5
2 changed files with 2 additions and 4 deletions

View file

@ -18,8 +18,6 @@ COPY unbound-v1.13.1_pihole.conf /etc/unbound/unbound.conf.d/pihole.conf
# Copy / move files and change owner.
RUN wget -O root.hints https://www.internic.net/domain/named.root && \
mkdir /usr/local/etc/unbound && \
#unbound-anchor && \
#cp /var/lib/unbound/root.key /usr/local/etc/unbound/root.key && \
mv root.hints /usr/local/etc/unbound/ && \
chown -R unbound:unbound /usr/local/etc/unbound/root.*

View file

@ -44,7 +44,7 @@ server:
# The verbosity number,
# level 0 means no verbosity, only errors.
# level 1 gives operational information.
verbosity: 1
verbosity: 0
# Do not print log lines to inform about local zone actions
log-local-actions: no
@ -107,7 +107,7 @@ server:
# Enable chroot (i.e, change apparent root directory for the current
# running process and its children)
chroot: "/usr/local/etc/unbound/"
chroot: "/usr/local/etc/unbound"
# Deny queries of type ANY with an empty response.
deny-any: yes