1
0
Fork 0
mirror of https://github.com/sujiba/pihole-unbound-hyperlocal.git synced 2025-07-13 23:05:44 +02:00

generate root.key

This commit is contained in:
simon 2022-04-03 15:13:36 +02:00
parent 300a9ad4aa
commit 0582b3b974

View file

@ -14,10 +14,11 @@ RUN apt-get update && \
COPY unbound-v1.13.1_pihole.conf /etc/unbound/unbound.conf.d/pihole.conf
# Download the DNS-Root-Zone.
# Create the chroot directory.
# 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 && \
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.*