mirror of
https://github.com/sujiba/pihole-unbound-hyperlocal.git
synced 2025-07-10 13:55:12 +02:00
generate root.key
This commit is contained in:
parent
f6b63afdc2
commit
4b5af4467d
1 changed files with 2 additions and 1 deletions
|
@ -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.*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue