mirror of
https://github.com/sujiba/pihole-unbound-hyperlocal.git
synced 2025-07-10 05:45:14 +02:00
chroot: removed trailing /
This commit is contained in:
parent
97f2b0ac11
commit
d1f5abccba
2 changed files with 2 additions and 4 deletions
|
@ -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.*
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue