From 8cab337b5c6a2971cba66503cc6c182ab0414c87 Mon Sep 17 00:00:00 2001 From: chris Date: Sun, 18 Sep 2016 14:11:55 +0200 Subject: [PATCH] initial --- Dockerfile | 6 ++++++ unbound.conf | 13 +++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 Dockerfile create mode 100644 unbound.conf diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a0b9e40 --- /dev/null +++ b/Dockerfile @@ -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"] diff --git a/unbound.conf b/unbound.conf new file mode 100644 index 0000000..230a886 --- /dev/null +++ b/unbound.conf @@ -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"