From 3a9c6a8b5ac1416ccdc64c6181b5223807a794da Mon Sep 17 00:00:00 2001 From: root Date: Tue, 2 Sep 2025 13:17:50 +0300 Subject: [PATCH] init --- Dockerfile | 7 +++++++ unbound.conf | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 Dockerfile create mode 100644 unbound.conf diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..fd34fa8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM alpine:latest +RUN apk add --no-cache unbound +COPY unbound.conf /etc/unbound/unbound.conf +WORKDIR /etc/unbound/ +EXPOSE 53 +EXPOSE 53/udp +CMD ["unbound", "-c", "/etc/unbound/unbound.conf", "-d"] diff --git a/unbound.conf b/unbound.conf new file mode 100644 index 0000000..4a699d9 --- /dev/null +++ b/unbound.conf @@ -0,0 +1,7 @@ +server: + verbosity: 1 + logfile: "/var/log/unbound/unbound.log" +remote-control: + control-enable: yes + control-interface: /run/unbound.control.sock +include-toplevel: "/etc/unbound/unbound.conf.d/*.conf"