mirror of
https://github.com/sujiba/pihole-unbound-hyperlocal.git
synced 2025-07-10 21:55:13 +02:00
changes
This commit is contained in:
parent
d6606feb0d
commit
ae01592c8b
3 changed files with 4 additions and 4 deletions
Binary file not shown.
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue