This image is automatically updated with a script.
So shoot me an email @ [email protected] if it starts crashing.
version: '3.9'
services:
bind:
build: .
image: siverten/bind9:latest
container_name: bind
ports:
- 53:53/udp
- 53:53
volumes:
- ./named.conf:/etc/bind/named.conf:ro
- ./cache:/var/cache/bind:rw
acl local {
127.0.0.0/8;
10.0.0.0/8;
100.64.0.0/10;
172.16.0.0/12;
192.0.0.0/24;
192.168.0.0/16;
198.18.0.0/15;
};
options {
directory "/var/bind";
listen-on { 0.0.0.0; };
allow-query { local; };
allow-recursion { local; };
forwarders {
1.0.0.1;
1.1.1.1;
};
pid-file "/var/run/named/named.pid";
recursion yes;
auth-nxdomain no;
empty-zones-enable no;
};
zone "." IN {
type hint;
file "named.ca";
};
FROM alpine:3.12
RUN apk --update --no-cache add bind bind-dnssec-tools
EXPOSE 53
CMD ["named", "-c", "/etc/bind/named.conf", "-g", "-u", "named"]
Content type
Image
Digest
sha256:d5f01e623…
Size
14.6 MB
Last updated
almost 2 years ago
docker pull siverten/bind9