From 64faafc0b68854a113e3fa473d73f6b430919b34 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 15 Oct 2024 01:41:24 +0000 Subject: [PATCH 1/8] 24.03-lts update bind9 to 9.21.1 --- bind9/9.21.1/24.03-lts/Dockerfile | 35 +++++++++++++++++++++++++++ bind9/9.21.1/24.03-lts/named | 2 ++ bind9/9.21.1/24.03-lts/named.conf | 39 +++++++++++++++++++++++++++++++ bind9/meta.yml | 4 +++- 4 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 bind9/9.21.1/24.03-lts/Dockerfile create mode 100644 bind9/9.21.1/24.03-lts/named create mode 100644 bind9/9.21.1/24.03-lts/named.conf 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 00000000..ad07b47b --- /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 00000000..f521f505 --- /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 00000000..b2d954e0 --- /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 adfae706..756a021b 100644 --- a/bind9/meta.yml +++ b/bind9/meta.yml @@ -1,2 +1,4 @@ 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 \ No newline at end of file -- Gitee From 5d73a52485977233783814df9692ef4da352a91b Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 15 Oct 2024 01:41:47 +0000 Subject: [PATCH 2/8] 22.03-lts-sp3 update bind9 to 9.21.1 --- bind9/9.21.1/22.03-lts-sp3/Dockerfile | 35 ++++++++++++++++++++++++ bind9/9.21.1/22.03-lts-sp3/named | 2 ++ bind9/9.21.1/22.03-lts-sp3/named.conf | 39 +++++++++++++++++++++++++++ bind9/meta.yml | 4 ++- 4 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 bind9/9.21.1/22.03-lts-sp3/Dockerfile create mode 100644 bind9/9.21.1/22.03-lts-sp3/named create mode 100644 bind9/9.21.1/22.03-lts-sp3/named.conf 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 00000000..0225006f --- /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 00000000..f521f505 --- /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 00000000..b2d954e0 --- /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/meta.yml b/bind9/meta.yml index 756a021b..e1fa6df1 100644 --- a/bind9/meta.yml +++ b/bind9/meta.yml @@ -1,4 +1,6 @@ 9.18.24-oe2203sp3: path: bind9/9.18.24/22.03-lts-sp3/Dockerfile 9.21.1-oe2403lts: - path: bind9/9.21.1/24.03-lts/Dockerfile \ No newline at end of file + path: bind9/9.21.1/24.03-lts/Dockerfile +9.21.1-oe2203sp3: + path: bind9/9.21.1/22.03-lts-sp3/Dockerfile \ No newline at end of file -- Gitee From 9db84d52488d443541d1adccdb990073c6ed3bb7 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 15 Oct 2024 01:42:09 +0000 Subject: [PATCH 3/8] 22.03-lts-sp4 update bind9 to 9.21.1 --- bind9/9.21.1/22.03-lts-sp4/Dockerfile | 35 ++++++++++++++++++++++++ bind9/9.21.1/22.03-lts-sp4/named | 2 ++ bind9/9.21.1/22.03-lts-sp4/named.conf | 39 +++++++++++++++++++++++++++ bind9/meta.yml | 4 ++- 4 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 bind9/9.21.1/22.03-lts-sp4/Dockerfile create mode 100644 bind9/9.21.1/22.03-lts-sp4/named create mode 100644 bind9/9.21.1/22.03-lts-sp4/named.conf 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 00000000..7c40c339 --- /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 00000000..f521f505 --- /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 00000000..b2d954e0 --- /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/meta.yml b/bind9/meta.yml index e1fa6df1..e37c2363 100644 --- a/bind9/meta.yml +++ b/bind9/meta.yml @@ -3,4 +3,6 @@ 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 \ No newline at end of file + path: bind9/9.21.1/22.03-lts-sp3/Dockerfile +9.21.1-oe2203sp4: + path: bind9/9.21.1/22.03-lts-sp4/Dockerfile \ No newline at end of file -- Gitee From 13c0652e28624b866be829f3682898fed41036f7 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 15 Oct 2024 01:42:33 +0000 Subject: [PATCH 4/8] 22.03-lts-sp1 update bind9 to 9.21.1 --- bind9/9.21.1/22.03-lts-sp1/Dockerfile | 35 ++++++++++++++++++++++++ bind9/9.21.1/22.03-lts-sp1/named | 2 ++ bind9/9.21.1/22.03-lts-sp1/named.conf | 39 +++++++++++++++++++++++++++ bind9/meta.yml | 4 ++- 4 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 bind9/9.21.1/22.03-lts-sp1/Dockerfile create mode 100644 bind9/9.21.1/22.03-lts-sp1/named create mode 100644 bind9/9.21.1/22.03-lts-sp1/named.conf 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 00000000..7b4b8a99 --- /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 00000000..f521f505 --- /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 00000000..b2d954e0 --- /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/meta.yml b/bind9/meta.yml index e37c2363..e0fa3e44 100644 --- a/bind9/meta.yml +++ b/bind9/meta.yml @@ -5,4 +5,6 @@ 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 \ No newline at end of file + path: bind9/9.21.1/22.03-lts-sp4/Dockerfile +9.21.1-oe2203sp1: + path: bind9/9.21.1/22.03-lts-sp1/Dockerfile \ No newline at end of file -- Gitee From dbc3c003a73f513ee871072f667c0213cc2e225a Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 15 Oct 2024 01:42:57 +0000 Subject: [PATCH 5/8] 20.03-lts-sp4 update bind9 to 9.21.1 --- bind9/9.21.1/20.03-lts-sp4/Dockerfile | 35 ++++++++++++++++++++++++ bind9/9.21.1/20.03-lts-sp4/named | 2 ++ bind9/9.21.1/20.03-lts-sp4/named.conf | 39 +++++++++++++++++++++++++++ bind9/meta.yml | 4 ++- 4 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 bind9/9.21.1/20.03-lts-sp4/Dockerfile create mode 100644 bind9/9.21.1/20.03-lts-sp4/named create mode 100644 bind9/9.21.1/20.03-lts-sp4/named.conf 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 00000000..de1bd531 --- /dev/null +++ b/bind9/9.21.1/20.03-lts-sp4/Dockerfile @@ -0,0 +1,35 @@ +ARG BASE=openeuler/openeuler:20.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/20.03-lts-sp4/named b/bind9/9.21.1/20.03-lts-sp4/named new file mode 100644 index 00000000..f521f505 --- /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 00000000..b2d954e0 --- /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/meta.yml b/bind9/meta.yml index e0fa3e44..95eb5a10 100644 --- a/bind9/meta.yml +++ b/bind9/meta.yml @@ -7,4 +7,6 @@ 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 \ No newline at end of file + 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 -- Gitee From da47c1114212af286e793e9a3aa6176cc5217227 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Wed, 16 Oct 2024 14:37:31 +0800 Subject: [PATCH 6/8] 20.03-lts-sp4 update bind9 to 9.21.1 --- bind9/9.21.1/20.03-lts-sp4/Dockerfile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bind9/9.21.1/20.03-lts-sp4/Dockerfile b/bind9/9.21.1/20.03-lts-sp4/Dockerfile index de1bd531..ef7aa82b 100644 --- a/bind9/9.21.1/20.03-lts-sp4/Dockerfile +++ b/bind9/9.21.1/20.03-lts-sp4/Dockerfile @@ -2,8 +2,18 @@ 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 +RUN yum -y update && yum -y install make gcc xz libcap-devel libuv-devel libnghttp2-devel openssl-devel perl wget && yum clean all + +RUN wget -O /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 && \ -- Gitee From 998c2aff48d9b0826012fd554361fa01c10dac88 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Wed, 16 Oct 2024 16:27:59 +0800 Subject: [PATCH 7/8] 20.03-lts-sp4 update bind9 to 9.21.1 --- bind9/9.21.1/20.03-lts-sp4/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bind9/9.21.1/20.03-lts-sp4/Dockerfile b/bind9/9.21.1/20.03-lts-sp4/Dockerfile index ef7aa82b..c87f601f 100644 --- a/bind9/9.21.1/20.03-lts-sp4/Dockerfile +++ b/bind9/9.21.1/20.03-lts-sp4/Dockerfile @@ -4,9 +4,9 @@ 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 wget && yum clean all +RUN yum -y update && yum -y install make gcc xz libcap-devel libuv-devel libnghttp2-devel openssl-devel perl && yum clean all -RUN wget -O /tmp/userspace-rcu.tar.bz2 https://lttng.org/files/urcu/userspace-rcu-${RCU_VERSION}.tar.bz2 && \ +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 && \ -- Gitee From 69eb34ede1db276cee19ec7350c37e0ac76de404 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Thu, 17 Oct 2024 10:32:33 +0800 Subject: [PATCH 8/8] 20.03-lts-sp4 update bind9 to 9.21.1 --- bind9/9.21.1/20.03-lts-sp4/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bind9/9.21.1/20.03-lts-sp4/Dockerfile b/bind9/9.21.1/20.03-lts-sp4/Dockerfile index c87f601f..73048ef7 100644 --- a/bind9/9.21.1/20.03-lts-sp4/Dockerfile +++ b/bind9/9.21.1/20.03-lts-sp4/Dockerfile @@ -6,6 +6,8 @@ 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 && \ -- Gitee