mirror of
https://github.com/sujiba/pihole-unbound-hyperlocal.git
synced 2025-07-10 13:55:12 +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.
|
# Create the chroot directory and generate root.key.
|
||||||
# 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 && \
|
mv root.hints /var/lib/unbound/ && \
|
||||||
mv root.hints /usr/local/etc/unbound/ && \
|
chown -R unbound:unbound /var/lib/unbound/root.hints
|
||||||
chown -R unbound:unbound /usr/local/etc/unbound/root.*
|
|
||||||
|
|
||||||
# Unbound startup script
|
# Unbound startup script
|
||||||
COPY start_unbound_and_s6_init.sh start_unbound_and_s6_init.sh
|
COPY start_unbound_and_s6_init.sh start_unbound_and_s6_init.sh
|
||||||
|
|
|
@ -17,7 +17,8 @@ server:
|
||||||
prefer-ip6: no
|
prefer-ip6: no
|
||||||
|
|
||||||
# Enable DNSSEC
|
# 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
|
# where to find root server data
|
||||||
root-hints: "/var/lib/unbound/root.hints"
|
root-hints: "/var/lib/unbound/root.hints"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue