diff --git a/docker-build/.unbound-v1.9_pihole.conf.swp b/docker-build/.unbound-v1.9_pihole.conf.swp deleted file mode 100644 index c8007be..0000000 Binary files a/docker-build/.unbound-v1.9_pihole.conf.swp and /dev/null differ diff --git a/docker-build/Dockerfile b/docker-build/Dockerfile index c8c1d84..78b14c5 100644 --- a/docker-build/Dockerfile +++ b/docker-build/Dockerfile @@ -17,9 +17,8 @@ COPY unbound-v1.13.1_pihole.conf /etc/unbound/unbound.conf.d/pihole.conf # Create the chroot directory and generate root.key. # Copy / move files and change owner. RUN wget -O root.hints https://www.internic.net/domain/named.root && \ - mkdir /usr/local/etc/unbound && \ - mv root.hints /usr/local/etc/unbound/ && \ - chown -R unbound:unbound /usr/local/etc/unbound/root.* + mv root.hints /var/lib/unbound/ && \ + chown -R unbound:unbound /var/lib/unbound/root.hints # Unbound startup script COPY start_unbound_and_s6_init.sh start_unbound_and_s6_init.sh diff --git a/docker-build/unbound-v1.13.1_pihole.conf b/docker-build/unbound-v1.13.1_pihole.conf index 2d0ca89..dce59c4 100644 --- a/docker-build/unbound-v1.13.1_pihole.conf +++ b/docker-build/unbound-v1.13.1_pihole.conf @@ -17,7 +17,8 @@ server: prefer-ip6: no # Enable DNSSEC - auto-trust-anchor-file: "/var/lib/unbound/root.key" + # Enabled with root-auto-trust-anchor-file.conf + #auto-trust-anchor-file: "/var/lib/unbound/root.key" # where to find root server data root-hints: "/var/lib/unbound/root.hints"