mirror of
https://github.com/sujiba/pihole-unbound-hyperlocal.git
synced 2025-07-13 06:45:43 +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.
|
# Copy / move files and change owner.
|
||||||
RUN wget -O root.hints https://www.internic.net/domain/named.root && \
|
RUN wget -O root.hints https://www.internic.net/domain/named.root && \
|
||||||
mkdir /usr/local/etc/unbound && \
|
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/ && \
|
mv root.hints /usr/local/etc/unbound/ && \
|
||||||
chown -R unbound:unbound /usr/local/etc/unbound/root.*
|
chown -R unbound:unbound /usr/local/etc/unbound/root.*
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ server:
|
||||||
# The verbosity number,
|
# The verbosity number,
|
||||||
# level 0 means no verbosity, only errors.
|
# level 0 means no verbosity, only errors.
|
||||||
# level 1 gives operational information.
|
# level 1 gives operational information.
|
||||||
verbosity: 1
|
verbosity: 0
|
||||||
|
|
||||||
# Do not print log lines to inform about local zone actions
|
# Do not print log lines to inform about local zone actions
|
||||||
log-local-actions: no
|
log-local-actions: no
|
||||||
|
@ -107,7 +107,7 @@ server:
|
||||||
|
|
||||||
# Enable chroot (i.e, change apparent root directory for the current
|
# Enable chroot (i.e, change apparent root directory for the current
|
||||||
# running process and its children)
|
# 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 queries of type ANY with an empty response.
|
||||||
deny-any: yes
|
deny-any: yes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue