commit 3a9c6a8b5ac1416ccdc64c6181b5223807a794da Author: root Date: Tue Sep 2 13:17:50 2025 +0300 init 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"