From d1f5abccbac997e8e3d1a37487b6d4b1cd02e238 Mon Sep 17 00:00:00 2001 From: sujiba <65259334+sujiba@users.noreply.github.com> Date: Thu, 4 May 2023 01:33:02 +0200 Subject: [PATCH] chroot: removed trailing / --- docker-build/Dockerfile | 2 -- docker-build/unbound-v1.13.1_pihole.conf | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docker-build/Dockerfile b/docker-build/Dockerfile index e22547d..c8c1d84 100644 --- a/docker-build/Dockerfile +++ b/docker-build/Dockerfile @@ -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.* diff --git a/docker-build/unbound-v1.13.1_pihole.conf b/docker-build/unbound-v1.13.1_pihole.conf index 9de63c0..da5c45a 100644 --- a/docker-build/unbound-v1.13.1_pihole.conf +++ b/docker-build/unbound-v1.13.1_pihole.conf @@ -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