This commit is contained in:
chris 2016-09-18 14:11:55 +02:00
commit 8cab337b5c
2 changed files with 19 additions and 0 deletions

6
Dockerfile Normal file
View file

@ -0,0 +1,6 @@
FROM alpine:3.4
RUN apk --no-cache add unbound &&\
unbound-anchor
COPY unbound.conf /etc/unbound/unbound.conf
EXPOSE 53
CMD ["unbound", "-d"]

13
unbound.conf Normal file
View file

@ -0,0 +1,13 @@
server:
verbosity: 1
statistics-interval: 60
interface: 0.0.0.0
# accept anything, firewall your ports!
access-control: 0.0.0.0/0 allow
logfile: ""
log-time-ascii: yes
root-hints: /etc/unbound/root.hints
trust-anchor-file: "/usr/share/dnssec-root/trusted-key.key"