10 Commits
Author SHA1 Message Date
Ventz Petkov c748b9aba6 Updated for: 9.14.7-r0 - CVE-2019-6475 and CVE-2019-6476 - https://github.com/ventz/docker-bind/issues/28 2019-10-24 13:34:56 -04:00
Ventz Petkov 7cd4708129 Added bind-plugins for filters which were also separated in Alpine 3.10 / BIND 9.14 into dedicated package. Thanks to @jongj for pointing it out. 2019-06-26 16:07:57 -04:00
Ventz Petkov 6de0c62348 Upgrade to latest alpine which is now 3.10 and thus bind 9.14.3 - thanks to @ikluft for pointing this out. Also, it seems that Alpine 3.10 has removed rndc-config from the bind package, and it's now in bind-tools. 2019-06-26 01:34:19 -04:00
Ventz Petkov 38bfc87ca3 Updated for: 9.12.4_p2-r0 - CVE-2019-6471 - https://github.com/ventz/docker-bind/issues/19 2019-06-24 00:23:45 -04:00
Ventz Petkov 542888918c Hot Fix #1 - https://github.com/ventz/docker-bind/issues/18 2019-05-04 02:51:14 -04:00
Ventz Petkov d44770e9fd Updated for: 9.12.4_p1-r1 - CVE-2018-5743, CVE-2019-6467, and CVE-2019-6468 - https://github.com/ventz/docker-bind/issues/17 2019-05-04 02:25:54 -04:00
Ventz Petkov 386f0f01c0 CVE-2019-6465, CVE-2018-5745, and CVE-2018-5745 - https://github.com/ventz/docker-bind/issues/15 2019-04-18 14:55:32 -04:00
Ventz Petkov cbfafc9094 Updated for: 9.12.3_r0 2019-01-15 01:31:59 -05:00
Ventz Petkov f585357323 Fix for being able to pass override options to bind from the run commandline - as per @lkollenberger's use case 2018-11-19 16:08:35 -05:00
Ventz Petkov 81271eb153 Updated for: 9.12.2_p1-r0 2018-10-09 18:17:45 -04:00
3 changed files with 13 additions and 8 deletions
+6 -3
View File
@@ -1,6 +1,6 @@
### ISC BIND9 Container (Stable: 9.12.1_xx) built on top of Alpine ### ISC BIND9 Container (Stable: 9.14.7_xx) built on top of Alpine
### Last update: 9-4-18 (major new update!) ### Last update: 10-24-19
### Latest Stable Docker Tag: 9.12.1_p2-r0 ### Latest Stable Docker Tag: 9.14.7-r0
NOTE: "Last Update" is the date of the latest DockerHub build. NOTE: "Last Update" is the date of the latest DockerHub build.
@@ -76,3 +76,6 @@ docker run --name=dns-resolver
-v /DATA/var/cache/bind:/var/cache/bind \ -v /DATA/var/cache/bind:/var/cache/bind \
ventz/bind ventz/bind
``` ```
Additional options may be passed to the bind daemon via the `OPTIONS` argument, provided as:
`docker run --env OPTIONS='...'
+3 -3
View File
@@ -1,7 +1,7 @@
FROM alpine:latest FROM alpine:latest
EXPOSE 53 53/udp EXPOSE 53 53/udp
RUN apk --update upgrade && apk add bind RUN apk --update upgrade && apk add bind bind-tools bind-plugins
# /etc/bind needs to be owned by root, group owned by "bind", and chmod 750 # /etc/bind needs to be owned by root, group owned by "bind", and chmod 750
# since we are mounting, do it manually # since we are mounting, do it manually
@@ -13,9 +13,9 @@ RUN apk --update upgrade && apk add bind
# & # &
# Get latest bind.keys # Get latest bind.keys
RUN mkdir -m 0770 -p /etc/bind && chown -R root:named /etc/bind ; \ RUN mkdir -m 0770 -p /etc/bind && chown -R root:named /etc/bind ; \
mkdir -m 0770 -p /var/cache/bind && chown -R root:named /var/cache/bind ; \ mkdir -m 0770 -p /var/cache/bind && chown -R named:named /var/cache/bind ; \
wget -q -O /etc/bind/bind.keys https://ftp.isc.org/isc/bind9/keys/9.11/bind.keys.v9_11 ; \ wget -q -O /etc/bind/bind.keys https://ftp.isc.org/isc/bind9/keys/9.11/bind.keys.v9_11 ; \
rndc-confgen -a -r /dev/urandom rndc-confgen -a
COPY configs/. /etc/bind/ COPY configs/. /etc/bind/
+4 -2
View File
@@ -1,6 +1,8 @@
#!/bin/sh #!/bin/sh
chown -R root:named /etc/bind /var/cache/bind /var/run/named OPTIONS=$@
chown -R root:named /etc/bind /var/run/named
chown -R named:named /var/cache/bind
chmod -R 770 /var/cache/bind /var/run/named chmod -R 770 /var/cache/bind /var/run/named
chmod -R 750 /etc/bind chmod -R 750 /etc/bind
# Run in foreground and log to STDERR (console): # Run in foreground and log to STDERR (console):
exec /usr/sbin/named -c /etc/bind/named.conf -g -u named exec /usr/sbin/named -c /etc/bind/named.conf -g -u named $OPTIONS