diff --git a/bind9/9.21.1/20.03-lts-sp4/Dockerfile b/bind9/9.21.1/20.03-lts-sp4/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..73048ef7364033fdeb15bde95c4d4ecfc4d93803 --- /dev/null +++ b/bind9/9.21.1/20.03-lts-sp4/Dockerfile @@ -0,0 +1,47 @@ +ARG BASE=openeuler/openeuler:20.03-lts-sp4 +FROM ${BASE} + +ARG VERSION=9.21.1 +ARG RCU_VERSION=0.13.0 + +RUN yum -y update && yum -y install make gcc xz libcap-devel libuv-devel libnghttp2-devel openssl-devel perl && yum clean all + +ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH + +RUN curl -fSL --output /tmp/userspace-rcu.tar.bz2 https://lttng.org/files/urcu/userspace-rcu-${RCU_VERSION}.tar.bz2 && \ + mkdir -p /tmp/userspace-rcu && tar -xvf /tmp/userspace-rcu.tar.bz2 -C /tmp/userspace-rcu --strip-components 1 && \ + cd /tmp/userspace-rcu && \ + ./configure && \ + make -j "$(nproc)" && \ + make install && \ + ldconfig + +RUN curl -fSL --output bind9.tar.xz https://downloads.isc.org/isc/bind9/${VERSION}/bind-${VERSION}.tar.xz && \ + mkdir -p /bind9 && tar -xvf bind9.tar.xz -C /bind9 --strip-components=1 && \ + rm -rf bind9.tar.xz && cd /bind9 && \ + ./configure \ + --enable-syscalls \ + --prefix=/usr/local/bind9 \ + --enable-threads \ + --with-openssl=yes \ + --enable-openssl-version-check \ + --enable-ipv6 \ + --disable-linux-caps && \ + make -j "$(nproc)" && make install + +ENV PATH=/usr/local/bind9/bin:/usr/local/bind9/sbin:$PATH +RUN mkdir /usr/local/bind9/dev && \ + mknod -m 666 /usr/local/bind9/dev/null c 1 3 && \ + mknod -m 666 /usr/local/bind9/dev/random c 1 8 && \ + mkdir -p /usr/local/bind9/data && \ + mkdir -p /usr/local/bind9/var/log + +COPY named /etc/sysconfig/named +COPY named.conf /usr/local/bind9/etc/named.conf +RUN /usr/local/bind9/sbin/rndc-confgen -a && \ + ln -s /usr/local/bind9/etc/rndc.key /etc/rndc.key && \ + ln -s /usr/local/bind9/etc/named.conf /etc/named.conf + +EXPOSE 53 953 + +CMD ["named", "-g", "-t", "/usr/local/bind9", "-c", "/etc/named.conf"] \ No newline at end of file diff --git a/bind9/9.21.1/20.03-lts-sp4/named b/bind9/9.21.1/20.03-lts-sp4/named new file mode 100644 index 0000000000000000000000000000000000000000..f521f505dc8e38783ead412f07c6fdf422da86ff --- /dev/null +++ b/bind9/9.21.1/20.03-lts-sp4/named @@ -0,0 +1,2 @@ +ROOTDIR=/usr/local/bind9 +OPTIONS=-4 \ No newline at end of file diff --git a/bind9/9.21.1/20.03-lts-sp4/named.conf b/bind9/9.21.1/20.03-lts-sp4/named.conf new file mode 100644 index 0000000000000000000000000000000000000000..b2d954e0c4106b52bd811e90dc34ed74cad3b82c --- /dev/null +++ b/bind9/9.21.1/20.03-lts-sp4/named.conf @@ -0,0 +1,39 @@ +Controls { + inet 127.0.0.1 allow { localhost; } keys { rndc-key; }; +}; + +include "/etc/rndc.key"; + +acl "internal-network" { + localhost; + 127.0.0.1/32; + 172.16.0.0/12; + 192.168.0.0/16; +}; + +options { + version "unknown"; + hostname "ns1.test.example.com"; + + directory "/var"; + dump-file "/data/cache_dump.db"; + statistics-file "/data/named_status.dat"; + pid-file "/var/run/named/named.pid"; + + listen-on port 53 { + internal-network; + }; + + allow-query { internal-network; }; + dnssec-validation no; + recursion yes; + allow-recursion { internal-network; }; + + notify yes; + max-transfer-time-in 60; + transfer-format many-answers; + transfers-in 10; + transfers-per-ns 2; + allow-transfer { none; }; + allow-update { none; }; +}; \ No newline at end of file diff --git a/bind9/9.21.1/22.03-lts-sp1/Dockerfile b/bind9/9.21.1/22.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..7b4b8a99c904764dc40a51c73e1eae1d1fcaf021 --- /dev/null +++ b/bind9/9.21.1/22.03-lts-sp1/Dockerfile @@ -0,0 +1,35 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp1 +FROM ${BASE} + +ARG VERSION=9.21.1 + +RUN yum -y update && yum -y install make gcc xz libcap-devel libuv-devel libnghttp2-devel openssl-devel perl && yum clean all +RUN curl -fSL --output bind9.tar.xz https://downloads.isc.org/isc/bind9/${VERSION}/bind-${VERSION}.tar.xz && \ + mkdir -p /bind9 && tar -xvf bind9.tar.xz -C /bind9 --strip-components=1 && \ + rm -rf bind9.tar.xz && cd /bind9 && \ + ./configure \ + --enable-syscalls \ + --prefix=/usr/local/bind9 \ + --enable-threads \ + --with-openssl=yes \ + --enable-openssl-version-check \ + --enable-ipv6 \ + --disable-linux-caps && \ + make -j "$(nproc)" && make install + +ENV PATH=/usr/local/bind9/bin:/usr/local/bind9/sbin:$PATH +RUN mkdir /usr/local/bind9/dev && \ + mknod -m 666 /usr/local/bind9/dev/null c 1 3 && \ + mknod -m 666 /usr/local/bind9/dev/random c 1 8 && \ + mkdir -p /usr/local/bind9/data && \ + mkdir -p /usr/local/bind9/var/log + +COPY named /etc/sysconfig/named +COPY named.conf /usr/local/bind9/etc/named.conf +RUN /usr/local/bind9/sbin/rndc-confgen -a && \ + ln -s /usr/local/bind9/etc/rndc.key /etc/rndc.key && \ + ln -s /usr/local/bind9/etc/named.conf /etc/named.conf + +EXPOSE 53 953 + +CMD ["named", "-g", "-t", "/usr/local/bind9", "-c", "/etc/named.conf"] \ No newline at end of file diff --git a/bind9/9.21.1/22.03-lts-sp1/named b/bind9/9.21.1/22.03-lts-sp1/named new file mode 100644 index 0000000000000000000000000000000000000000..f521f505dc8e38783ead412f07c6fdf422da86ff --- /dev/null +++ b/bind9/9.21.1/22.03-lts-sp1/named @@ -0,0 +1,2 @@ +ROOTDIR=/usr/local/bind9 +OPTIONS=-4 \ No newline at end of file diff --git a/bind9/9.21.1/22.03-lts-sp1/named.conf b/bind9/9.21.1/22.03-lts-sp1/named.conf new file mode 100644 index 0000000000000000000000000000000000000000..b2d954e0c4106b52bd811e90dc34ed74cad3b82c --- /dev/null +++ b/bind9/9.21.1/22.03-lts-sp1/named.conf @@ -0,0 +1,39 @@ +Controls { + inet 127.0.0.1 allow { localhost; } keys { rndc-key; }; +}; + +include "/etc/rndc.key"; + +acl "internal-network" { + localhost; + 127.0.0.1/32; + 172.16.0.0/12; + 192.168.0.0/16; +}; + +options { + version "unknown"; + hostname "ns1.test.example.com"; + + directory "/var"; + dump-file "/data/cache_dump.db"; + statistics-file "/data/named_status.dat"; + pid-file "/var/run/named/named.pid"; + + listen-on port 53 { + internal-network; + }; + + allow-query { internal-network; }; + dnssec-validation no; + recursion yes; + allow-recursion { internal-network; }; + + notify yes; + max-transfer-time-in 60; + transfer-format many-answers; + transfers-in 10; + transfers-per-ns 2; + allow-transfer { none; }; + allow-update { none; }; +}; \ No newline at end of file diff --git a/bind9/9.21.1/22.03-lts-sp3/Dockerfile b/bind9/9.21.1/22.03-lts-sp3/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..0225006f712ff6be322c11893838e5f48805288c --- /dev/null +++ b/bind9/9.21.1/22.03-lts-sp3/Dockerfile @@ -0,0 +1,35 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp3 +FROM ${BASE} + +ARG VERSION=9.21.1 + +RUN yum -y update && yum -y install make gcc xz libcap-devel libuv-devel libnghttp2-devel openssl-devel perl && yum clean all +RUN curl -fSL --output bind9.tar.xz https://downloads.isc.org/isc/bind9/${VERSION}/bind-${VERSION}.tar.xz && \ + mkdir -p /bind9 && tar -xvf bind9.tar.xz -C /bind9 --strip-components=1 && \ + rm -rf bind9.tar.xz && cd /bind9 && \ + ./configure \ + --enable-syscalls \ + --prefix=/usr/local/bind9 \ + --enable-threads \ + --with-openssl=yes \ + --enable-openssl-version-check \ + --enable-ipv6 \ + --disable-linux-caps && \ + make -j "$(nproc)" && make install + +ENV PATH=/usr/local/bind9/bin:/usr/local/bind9/sbin:$PATH +RUN mkdir /usr/local/bind9/dev && \ + mknod -m 666 /usr/local/bind9/dev/null c 1 3 && \ + mknod -m 666 /usr/local/bind9/dev/random c 1 8 && \ + mkdir -p /usr/local/bind9/data && \ + mkdir -p /usr/local/bind9/var/log + +COPY named /etc/sysconfig/named +COPY named.conf /usr/local/bind9/etc/named.conf +RUN /usr/local/bind9/sbin/rndc-confgen -a && \ + ln -s /usr/local/bind9/etc/rndc.key /etc/rndc.key && \ + ln -s /usr/local/bind9/etc/named.conf /etc/named.conf + +EXPOSE 53 953 + +CMD ["named", "-g", "-t", "/usr/local/bind9", "-c", "/etc/named.conf"] \ No newline at end of file diff --git a/bind9/9.21.1/22.03-lts-sp3/named b/bind9/9.21.1/22.03-lts-sp3/named new file mode 100644 index 0000000000000000000000000000000000000000..f521f505dc8e38783ead412f07c6fdf422da86ff --- /dev/null +++ b/bind9/9.21.1/22.03-lts-sp3/named @@ -0,0 +1,2 @@ +ROOTDIR=/usr/local/bind9 +OPTIONS=-4 \ No newline at end of file diff --git a/bind9/9.21.1/22.03-lts-sp3/named.conf b/bind9/9.21.1/22.03-lts-sp3/named.conf new file mode 100644 index 0000000000000000000000000000000000000000..b2d954e0c4106b52bd811e90dc34ed74cad3b82c --- /dev/null +++ b/bind9/9.21.1/22.03-lts-sp3/named.conf @@ -0,0 +1,39 @@ +Controls { + inet 127.0.0.1 allow { localhost; } keys { rndc-key; }; +}; + +include "/etc/rndc.key"; + +acl "internal-network" { + localhost; + 127.0.0.1/32; + 172.16.0.0/12; + 192.168.0.0/16; +}; + +options { + version "unknown"; + hostname "ns1.test.example.com"; + + directory "/var"; + dump-file "/data/cache_dump.db"; + statistics-file "/data/named_status.dat"; + pid-file "/var/run/named/named.pid"; + + listen-on port 53 { + internal-network; + }; + + allow-query { internal-network; }; + dnssec-validation no; + recursion yes; + allow-recursion { internal-network; }; + + notify yes; + max-transfer-time-in 60; + transfer-format many-answers; + transfers-in 10; + transfers-per-ns 2; + allow-transfer { none; }; + allow-update { none; }; +}; \ No newline at end of file diff --git a/bind9/9.21.1/22.03-lts-sp4/Dockerfile b/bind9/9.21.1/22.03-lts-sp4/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..7c40c339c15f8d26fd194ec2aa1f1dd70fd98516 --- /dev/null +++ b/bind9/9.21.1/22.03-lts-sp4/Dockerfile @@ -0,0 +1,35 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp4 +FROM ${BASE} + +ARG VERSION=9.21.1 + +RUN yum -y update && yum -y install make gcc xz libcap-devel libuv-devel libnghttp2-devel openssl-devel perl && yum clean all +RUN curl -fSL --output bind9.tar.xz https://downloads.isc.org/isc/bind9/${VERSION}/bind-${VERSION}.tar.xz && \ + mkdir -p /bind9 && tar -xvf bind9.tar.xz -C /bind9 --strip-components=1 && \ + rm -rf bind9.tar.xz && cd /bind9 && \ + ./configure \ + --enable-syscalls \ + --prefix=/usr/local/bind9 \ + --enable-threads \ + --with-openssl=yes \ + --enable-openssl-version-check \ + --enable-ipv6 \ + --disable-linux-caps && \ + make -j "$(nproc)" && make install + +ENV PATH=/usr/local/bind9/bin:/usr/local/bind9/sbin:$PATH +RUN mkdir /usr/local/bind9/dev && \ + mknod -m 666 /usr/local/bind9/dev/null c 1 3 && \ + mknod -m 666 /usr/local/bind9/dev/random c 1 8 && \ + mkdir -p /usr/local/bind9/data && \ + mkdir -p /usr/local/bind9/var/log + +COPY named /etc/sysconfig/named +COPY named.conf /usr/local/bind9/etc/named.conf +RUN /usr/local/bind9/sbin/rndc-confgen -a && \ + ln -s /usr/local/bind9/etc/rndc.key /etc/rndc.key && \ + ln -s /usr/local/bind9/etc/named.conf /etc/named.conf + +EXPOSE 53 953 + +CMD ["named", "-g", "-t", "/usr/local/bind9", "-c", "/etc/named.conf"] \ No newline at end of file diff --git a/bind9/9.21.1/22.03-lts-sp4/named b/bind9/9.21.1/22.03-lts-sp4/named new file mode 100644 index 0000000000000000000000000000000000000000..f521f505dc8e38783ead412f07c6fdf422da86ff --- /dev/null +++ b/bind9/9.21.1/22.03-lts-sp4/named @@ -0,0 +1,2 @@ +ROOTDIR=/usr/local/bind9 +OPTIONS=-4 \ No newline at end of file diff --git a/bind9/9.21.1/22.03-lts-sp4/named.conf b/bind9/9.21.1/22.03-lts-sp4/named.conf new file mode 100644 index 0000000000000000000000000000000000000000..b2d954e0c4106b52bd811e90dc34ed74cad3b82c --- /dev/null +++ b/bind9/9.21.1/22.03-lts-sp4/named.conf @@ -0,0 +1,39 @@ +Controls { + inet 127.0.0.1 allow { localhost; } keys { rndc-key; }; +}; + +include "/etc/rndc.key"; + +acl "internal-network" { + localhost; + 127.0.0.1/32; + 172.16.0.0/12; + 192.168.0.0/16; +}; + +options { + version "unknown"; + hostname "ns1.test.example.com"; + + directory "/var"; + dump-file "/data/cache_dump.db"; + statistics-file "/data/named_status.dat"; + pid-file "/var/run/named/named.pid"; + + listen-on port 53 { + internal-network; + }; + + allow-query { internal-network; }; + dnssec-validation no; + recursion yes; + allow-recursion { internal-network; }; + + notify yes; + max-transfer-time-in 60; + transfer-format many-answers; + transfers-in 10; + transfers-per-ns 2; + allow-transfer { none; }; + allow-update { none; }; +}; \ No newline at end of file diff --git a/bind9/9.21.1/24.03-lts/Dockerfile b/bind9/9.21.1/24.03-lts/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..ad07b47be7c1f4bdc26551901a09753b562e974c --- /dev/null +++ b/bind9/9.21.1/24.03-lts/Dockerfile @@ -0,0 +1,35 @@ +ARG BASE=openeuler/openeuler:24.03-lts +FROM ${BASE} + +ARG VERSION=9.21.1 + +RUN yum -y update && yum -y install make gcc xz libcap-devel libuv-devel libnghttp2-devel openssl-devel perl && yum clean all +RUN curl -fSL --output bind9.tar.xz https://downloads.isc.org/isc/bind9/${VERSION}/bind-${VERSION}.tar.xz && \ + mkdir -p /bind9 && tar -xvf bind9.tar.xz -C /bind9 --strip-components=1 && \ + rm -rf bind9.tar.xz && cd /bind9 && \ + ./configure \ + --enable-syscalls \ + --prefix=/usr/local/bind9 \ + --enable-threads \ + --with-openssl=yes \ + --enable-openssl-version-check \ + --enable-ipv6 \ + --disable-linux-caps && \ + make -j "$(nproc)" && make install + +ENV PATH=/usr/local/bind9/bin:/usr/local/bind9/sbin:$PATH +RUN mkdir /usr/local/bind9/dev && \ + mknod -m 666 /usr/local/bind9/dev/null c 1 3 && \ + mknod -m 666 /usr/local/bind9/dev/random c 1 8 && \ + mkdir -p /usr/local/bind9/data && \ + mkdir -p /usr/local/bind9/var/log + +COPY named /etc/sysconfig/named +COPY named.conf /usr/local/bind9/etc/named.conf +RUN /usr/local/bind9/sbin/rndc-confgen -a && \ + ln -s /usr/local/bind9/etc/rndc.key /etc/rndc.key && \ + ln -s /usr/local/bind9/etc/named.conf /etc/named.conf + +EXPOSE 53 953 + +CMD ["named", "-g", "-t", "/usr/local/bind9", "-c", "/etc/named.conf"] \ No newline at end of file diff --git a/bind9/9.21.1/24.03-lts/named b/bind9/9.21.1/24.03-lts/named new file mode 100644 index 0000000000000000000000000000000000000000..f521f505dc8e38783ead412f07c6fdf422da86ff --- /dev/null +++ b/bind9/9.21.1/24.03-lts/named @@ -0,0 +1,2 @@ +ROOTDIR=/usr/local/bind9 +OPTIONS=-4 \ No newline at end of file diff --git a/bind9/9.21.1/24.03-lts/named.conf b/bind9/9.21.1/24.03-lts/named.conf new file mode 100644 index 0000000000000000000000000000000000000000..b2d954e0c4106b52bd811e90dc34ed74cad3b82c --- /dev/null +++ b/bind9/9.21.1/24.03-lts/named.conf @@ -0,0 +1,39 @@ +Controls { + inet 127.0.0.1 allow { localhost; } keys { rndc-key; }; +}; + +include "/etc/rndc.key"; + +acl "internal-network" { + localhost; + 127.0.0.1/32; + 172.16.0.0/12; + 192.168.0.0/16; +}; + +options { + version "unknown"; + hostname "ns1.test.example.com"; + + directory "/var"; + dump-file "/data/cache_dump.db"; + statistics-file "/data/named_status.dat"; + pid-file "/var/run/named/named.pid"; + + listen-on port 53 { + internal-network; + }; + + allow-query { internal-network; }; + dnssec-validation no; + recursion yes; + allow-recursion { internal-network; }; + + notify yes; + max-transfer-time-in 60; + transfer-format many-answers; + transfers-in 10; + transfers-per-ns 2; + allow-transfer { none; }; + allow-update { none; }; +}; \ No newline at end of file diff --git a/bind9/meta.yml b/bind9/meta.yml index adfae706993c24842c26ea0fe703aa2a1623b47f..95eb5a10b5df15684221449651b7343b6a41fe71 100644 --- a/bind9/meta.yml +++ b/bind9/meta.yml @@ -1,2 +1,12 @@ 9.18.24-oe2203sp3: - path: bind9/9.18.24/22.03-lts-sp3/Dockerfile \ No newline at end of file + path: bind9/9.18.24/22.03-lts-sp3/Dockerfile +9.21.1-oe2403lts: + path: bind9/9.21.1/24.03-lts/Dockerfile +9.21.1-oe2203sp3: + path: bind9/9.21.1/22.03-lts-sp3/Dockerfile +9.21.1-oe2203sp4: + path: bind9/9.21.1/22.03-lts-sp4/Dockerfile +9.21.1-oe2203sp1: + path: bind9/9.21.1/22.03-lts-sp1/Dockerfile +9.21.1-oe2003sp4: + path: bind9/9.21.1/20.03-lts-sp4/Dockerfile \ No newline at end of file