24 Commits
v9.18 ... v9.11

Author SHA1 Message Date
Ondřej Surý
543c24dfff 1:9.11.37-1+ubuntu20.04.1+isc+1 2022-03-16 18:09:14 +01:00
Ondřej Surý
bd13edfbc3 1:9.11.37-1+ubuntu21.10.1+isc+1 2022-03-16 18:04:03 +01:00
Ondřej Surý
39326e10bb Use autoremove instead of remove to remove more cruft 2022-01-28 09:20:24 +01:00
Ondřej Surý
1ecb12b37b Remove policykit-1 package after installing BIND 9 2022-01-28 09:02:26 +01:00
Ondřej Surý
16a34d1587 Bump to 1:9.11.36-1+ubuntu20.04.1+isc+1 2021-10-28 10:19:06 +02:00
Ondřej Surý
c00fc9fcc6 Fix the version to 1:9.11.35+dfsg-1+ubuntu20.04.1+isc+1 2021-08-25 16:38:32 +02:00
Ondřej Surý
aa83b54115 Bump to 1:9.11.35-2+ubuntu20.04.1+isc+1 2021-08-25 16:24:13 +02:00
Ondřej Surý
4a4e484465 Change the VOLUME and mkdir order 2021-08-25 16:06:08 +02:00
Ondřej Surý
fc036e295c Update pinned version to 1:9.11.35-1+ubuntu20.04.1+isc+1 2021-08-25 16:04:35 +02:00
Ondřej Surý
e17aa02a6f Bump to 1:9.11.34-1+ubuntu20.04.1+isc+1 2021-07-22 11:46:37 +02:00
Ondřej Surý
3d291dd8ed 1:9.11.32+dfsg-2+ubuntu20.04.1+isc+1 2021-05-22 06:41:33 +02:00
Ondřej Surý
0c1f0fb9b6 Update the pinned version to 1:9.11.31+dfsg-2+ubuntu20.04.1+isc+1 2021-05-01 13:42:07 +02:00
Ondřej Surý
e9b024bdf6 Update the pinned version to 1:9.11.31+dfsg-1+ubuntu20.04.1+isc+2 2021-05-01 11:12:49 +02:00
Ondřej Surý
6a94eb3b80 Update the pinned version to 1:9.11.31-1+ubuntu20.04.1+isc+1 2021-05-01 11:10:17 +02:00
Ondřej Surý
720de77817 Update the pinned version to 1:9.11.28-1+ubuntu20.04.1+isc+1 2021-02-18 21:24:26 +01:00
Ondřej Surý
ad89513ae8 Update the pinned version to 1:9.11.27+dfsg-1+ubuntu20.04.1+isc+1 2021-01-25 09:23:03 +01:00
Ondřej Surý
9783eca5af Update the pinned version to 1:9.11.26+dfsg-1+ubuntu20.04.1+isc+1 2020-12-17 08:40:55 +01:00
Ondřej Surý
dbe22d0926 Update pinned version to 1:9.11.25+dfsg-1+ubuntu20.04.1+isc+1 2020-12-07 09:17:45 +01:00
Ondřej Surý
ea873f71d8 Use ARG directive to disable caching on the apt-get install command 2020-09-03 16:33:05 +02:00
Ondřej Surý
e31b4cd7ca Remove /run/named from volumes 2020-09-03 11:20:23 +02:00
Ondřej Surý
b447a33ae1 Pin the version to 9.11.21 focal 2020-09-03 09:25:11 +02:00
Ondřej Surý
86a4b15c86 Pin the version to 9.11.21 focal 2020-09-03 09:12:57 +02:00
Ondřej Surý
a6d8279c49 Remove named.conf 2020-09-02 19:01:40 +02:00
Ondřej Surý
4576829bbd Switch to bind-esv repository on v9.11 branch 2020-09-02 18:59:33 +02:00
2 changed files with 16 additions and 24 deletions

View File

@@ -4,14 +4,23 @@ MAINTAINER BIND 9 Developers <bind9-dev@isc.org>
ENV DEBIAN_FRONTEND noninteractive
ENV LC_ALL C.UTF-8
RUN apt-get -qqqy update
RUN apt-get -qqqy install apt-utils software-properties-common
RUN add-apt-repository -y ppa:isc/bind
ARG DEB_VERSION=1:9.11.37-1+ubuntu20.04.1+isc+1
# Install add-apt-repository command
RUN apt-get -qqqy update
RUN apt-get -qqqy dist-upgrade
RUN apt-get -qqqy install bind9 bind9-utils
RUN apt-get -qqqy install --no-install-recommends apt-utils software-properties-common dctrl-tools
VOLUME ["/etc/bind", "/var/cache/bind", "/var/lib/bind", "/var/log", "/run/named"]
# Add the BIND 9 APT Repository
RUN add-apt-repository -y ppa:isc/bind-esv
# Install BIND 9
RUN apt-get -qqqy update
RUN apt-get -qqqy dist-upgrade
RUN apt-get -qqqy install bind9=$DEB_VERSION bind9utils=$DEB_VERSION
# Now remove the pkexec that got pulled as dependency to software-properties-common
RUN apt-get --purge -y autoremove policykit-1
RUN mkdir -p /etc/bind && chown root:bind /etc/bind/ && chmod 755 /etc/bind
RUN mkdir -p /var/cache/bind && chown bind:bind /var/cache/bind && chmod 755 /var/cache/bind
@@ -19,6 +28,8 @@ RUN mkdir -p /var/lib/bind && chown bind:bind /var/lib/bind && chmod 755 /var/li
RUN mkdir -p /var/log/bind && chown bind:bind /var/log/bind && chmod 755 /var/log/bind
RUN mkdir -p /run/named && chown bind:bind /run/named && chmod 755 /run/named
VOLUME ["/etc/bind", "/var/cache/bind", "/var/lib/bind", "/var/log"]
EXPOSE 53/udp 53/tcp 953/tcp
CMD ["/usr/sbin/named", "-g", "-c", "/etc/bind/named.conf", "-u", "bind"]

View File

@@ -1,19 +0,0 @@
// This is the primary configuration file for the BIND DNS server named.
options {
directory "/var/cache/bind";
dnssec-validation auto;
listen-on-v6 { any; };
};
logging {
channel default_log {
file "/var/log/bind/default.log" versions 3 size 20m;
print-time yes;
print-category yes;
print-severity yes;
severity info;
};
category default { default_log; };
category unmatched { null; };
};