init
This commit is contained in:
7
Dockerfile
Normal file
7
Dockerfile
Normal file
@@ -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"]
|
||||||
7
unbound.conf
Normal file
7
unbound.conf
Normal file
@@ -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"
|
||||||
Reference in New Issue
Block a user