Use c-ares library as DNS resolver
This commit is contained in:
parent
f88647c0f4
commit
0a59ce5da2
4
.gitignore
vendored
4
.gitignore
vendored
@ -5,4 +5,6 @@ zbx_env*/
|
||||
.*KEY_FILE
|
||||
.*CA_FILE
|
||||
Dockerfiles/*/rhel/secrets/*
|
||||
sources/*
|
||||
sources/*
|
||||
.*.orig
|
||||
.*.rej
|
||||
@ -38,6 +38,7 @@ RUN set -eux && \
|
||||
tzdata \
|
||||
coreutils \
|
||||
iputils \
|
||||
c-ares \
|
||||
pcre2 \
|
||||
libgcc \
|
||||
libcurl \
|
||||
|
||||
@ -38,6 +38,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
set -eux && \
|
||||
INSTALL_PKGS="bash \
|
||||
iputils \
|
||||
c-ares \
|
||||
pcre2 \
|
||||
libcurl-minimal \
|
||||
libmodbus \
|
||||
|
||||
@ -39,6 +39,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
set -eux && \
|
||||
INSTALL_PKGS="bash \
|
||||
iputils \
|
||||
c-ares \
|
||||
pcre2 \
|
||||
libcurl \
|
||||
libmodbus \
|
||||
|
||||
@ -58,6 +58,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
INSTALL_PKGS="bash \
|
||||
iputils \
|
||||
shadow-utils \
|
||||
c-ares \
|
||||
pcre2 \
|
||||
libmodbus \
|
||||
libcurl-minimal \
|
||||
|
||||
@ -41,6 +41,7 @@ RUN --mount=type=cache,target=/var/cache/apt/,sharing=locked \
|
||||
tzdata \
|
||||
iputils-ping \
|
||||
ca-certificates \
|
||||
libcares2 \
|
||||
libssl3t64 \
|
||||
libcurl4t64 \
|
||||
libmodbus5 \
|
||||
|
||||
@ -30,6 +30,7 @@ RUN set -eux && \
|
||||
INSTALL_PKGS="bash \
|
||||
autoconf \
|
||||
automake \
|
||||
c-ares-dev \
|
||||
coreutils \
|
||||
curl \
|
||||
curl-dev \
|
||||
|
||||
@ -27,6 +27,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
bash \
|
||||
gcc \
|
||||
patch \
|
||||
c-ares-devel \
|
||||
pcre2-devel \
|
||||
libcurl-devel \
|
||||
libevent-devel \
|
||||
|
||||
@ -29,6 +29,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
gcc \
|
||||
go-toolset \
|
||||
patch \
|
||||
c-ares-devel \
|
||||
pcre2-devel \
|
||||
libcurl-devel \
|
||||
libevent-devel \
|
||||
|
||||
@ -41,6 +41,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
gcc \
|
||||
go-toolset \
|
||||
patch \
|
||||
c-ares-devel \
|
||||
pcre2-devel \
|
||||
libcurl-devel \
|
||||
libevent-devel \
|
||||
|
||||
@ -28,6 +28,7 @@ RUN --mount=type=cache,target=/var/cache/apt/,sharing=locked \
|
||||
curl \
|
||||
gcc \
|
||||
libc6-dev \
|
||||
libc-ares-dev \
|
||||
libcurl4-openssl-dev \
|
||||
libevent-dev \
|
||||
libmodbus-dev \
|
||||
|
||||
@ -82,6 +82,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
--enable-proxy \
|
||||
--enable-server \
|
||||
--enable-webservice \
|
||||
--with-ares \
|
||||
--with-ldap \
|
||||
--with-libcurl \
|
||||
--with-libmodbus \
|
||||
|
||||
@ -82,6 +82,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
--enable-proxy \
|
||||
--enable-server \
|
||||
--enable-webservice \
|
||||
--with-ares \
|
||||
--with-ldap \
|
||||
--with-libcurl \
|
||||
--with-libmodbus \
|
||||
|
||||
@ -82,6 +82,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
--enable-proxy \
|
||||
--enable-server \
|
||||
--enable-webservice \
|
||||
--with-ares \
|
||||
--with-ldap \
|
||||
--with-libcurl \
|
||||
--with-libmodbus \
|
||||
|
||||
@ -93,6 +93,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
--enable-proxy \
|
||||
--enable-server \
|
||||
--enable-webservice \
|
||||
--with-ares \
|
||||
--with-ldap \
|
||||
--with-libcurl \
|
||||
--with-libmodbus \
|
||||
|
||||
@ -82,6 +82,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
--enable-proxy \
|
||||
--enable-server \
|
||||
--enable-webservice \
|
||||
--with-ares \
|
||||
--with-ldap \
|
||||
--with-libcurl \
|
||||
--with-libmodbus \
|
||||
|
||||
@ -84,6 +84,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
--enable-proxy \
|
||||
--enable-server \
|
||||
--enable-webservice \
|
||||
--with-ares \
|
||||
--with-ldap \
|
||||
--with-libcurl \
|
||||
--with-libmodbus \
|
||||
|
||||
@ -83,6 +83,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
--enable-proxy \
|
||||
--enable-server \
|
||||
--enable-webservice \
|
||||
--with-ares \
|
||||
--with-ldap \
|
||||
--with-libcurl \
|
||||
--with-libmodbus \
|
||||
|
||||
@ -84,6 +84,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
--enable-proxy \
|
||||
--enable-server \
|
||||
--enable-webservice \
|
||||
--with-ares \
|
||||
--with-ldap \
|
||||
--with-libcurl \
|
||||
--with-libmodbus \
|
||||
|
||||
@ -95,6 +95,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
--enable-proxy \
|
||||
--enable-server \
|
||||
--enable-webservice \
|
||||
--with-ares \
|
||||
--with-ldap \
|
||||
--with-libcurl \
|
||||
--with-libmodbus \
|
||||
|
||||
@ -83,6 +83,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
--enable-proxy \
|
||||
--enable-server \
|
||||
--enable-webservice \
|
||||
--with-ares \
|
||||
--with-ldap \
|
||||
--with-libcurl \
|
||||
--with-libmodbus \
|
||||
|
||||
@ -74,6 +74,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
--enable-agent2 \
|
||||
--enable-java \
|
||||
--enable-proxy \
|
||||
--with-ares \
|
||||
--with-ldap \
|
||||
--with-libcurl \
|
||||
--with-libmodbus \
|
||||
|
||||
@ -74,6 +74,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
--enable-agent2 \
|
||||
--enable-java \
|
||||
--enable-proxy \
|
||||
--with-ares \
|
||||
--with-ldap \
|
||||
--with-libcurl \
|
||||
--with-libmodbus \
|
||||
|
||||
@ -74,6 +74,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
--enable-agent2 \
|
||||
--enable-java \
|
||||
--enable-proxy \
|
||||
--with-ares \
|
||||
--with-ldap \
|
||||
--with-libcurl \
|
||||
--with-libmodbus \
|
||||
|
||||
@ -85,6 +85,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
--enable-agent2 \
|
||||
--enable-java \
|
||||
--enable-proxy \
|
||||
--with-ares \
|
||||
--with-ldap \
|
||||
--with-libcurl \
|
||||
--with-libmodbus \
|
||||
|
||||
@ -74,6 +74,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
--enable-agent2 \
|
||||
--enable-java \
|
||||
--enable-proxy \
|
||||
--with-ares \
|
||||
--with-ldap \
|
||||
--with-libcurl \
|
||||
--with-libmodbus \
|
||||
|
||||
@ -45,6 +45,7 @@ RUN set -eux && \
|
||||
krb5 \
|
||||
iputils \
|
||||
openssl \
|
||||
c-ares \
|
||||
libcap \
|
||||
libcurl \
|
||||
libevent \
|
||||
|
||||
@ -45,6 +45,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
traceroute \
|
||||
nmap \
|
||||
krb5-workstation \
|
||||
c-ares \
|
||||
gzip \
|
||||
libssh \
|
||||
file-libs \
|
||||
|
||||
@ -46,6 +46,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
traceroute \
|
||||
nmap \
|
||||
krb5-workstation \
|
||||
c-ares \
|
||||
libssh \
|
||||
file-libs \
|
||||
fping \
|
||||
|
||||
@ -64,6 +64,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
traceroute \
|
||||
nmap \
|
||||
krb5-workstation \
|
||||
c-ares \
|
||||
shadow-utils \
|
||||
fping \
|
||||
iputils \
|
||||
|
||||
@ -50,6 +50,7 @@ RUN --mount=type=cache,target=/var/cache/apt/,sharing=locked \
|
||||
ca-certificates \
|
||||
fping \
|
||||
openssl \
|
||||
libcares2 \
|
||||
libcurl4t64 \
|
||||
libevent-2.1 \
|
||||
libevent-pthreads-2.1 \
|
||||
|
||||
@ -45,6 +45,7 @@ RUN set -eux && \
|
||||
fping \
|
||||
iputils \
|
||||
openssl \
|
||||
c-ares \
|
||||
libcap \
|
||||
libcurl \
|
||||
libevent \
|
||||
|
||||
@ -44,6 +44,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
traceroute \
|
||||
nmap \
|
||||
krb5-workstation \
|
||||
c-ares \
|
||||
libssh \
|
||||
fping \
|
||||
iputils \
|
||||
|
||||
@ -45,6 +45,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
traceroute \
|
||||
nmap \
|
||||
krb5-workstation \
|
||||
c-ares \
|
||||
libssh \
|
||||
fping \
|
||||
iputils \
|
||||
|
||||
@ -63,6 +63,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
traceroute \
|
||||
nmap \
|
||||
krb5-workstation \
|
||||
c-ares \
|
||||
shadow-utils \
|
||||
fping \
|
||||
iputils \
|
||||
|
||||
@ -49,6 +49,7 @@ RUN --mount=type=cache,target=/var/cache/apt/,sharing=locked \
|
||||
ca-certificates \
|
||||
fping \
|
||||
openssl \
|
||||
libcares2 \
|
||||
libcurl4t64 \
|
||||
libevent-2.1 \
|
||||
libevent-pthreads-2.1 \
|
||||
|
||||
@ -46,6 +46,7 @@ RUN set -eux && \
|
||||
tzdata \
|
||||
iputils \
|
||||
openssl \
|
||||
c-ares \
|
||||
libcap \
|
||||
libcurl \
|
||||
libevent \
|
||||
|
||||
@ -45,6 +45,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
traceroute \
|
||||
nmap \
|
||||
krb5-workstation \
|
||||
c-ares \
|
||||
hostname \
|
||||
file-libs \
|
||||
iputils \
|
||||
|
||||
@ -46,6 +46,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
traceroute \
|
||||
nmap \
|
||||
krb5-workstation \
|
||||
c-ares \
|
||||
hostname \
|
||||
file-libs \
|
||||
iputils \
|
||||
|
||||
@ -64,6 +64,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
traceroute \
|
||||
nmap \
|
||||
krb5-workstation \
|
||||
c-ares \
|
||||
fping \
|
||||
shadow-utils \
|
||||
iputils \
|
||||
|
||||
@ -51,6 +51,7 @@ RUN --mount=type=cache,target=/var/cache/apt/,sharing=locked \
|
||||
traceroute \
|
||||
fping \
|
||||
openssl \
|
||||
libcares2 \
|
||||
libcurl4t64 \
|
||||
libevent-2.1 \
|
||||
libevent-pthreads-2.1 \
|
||||
|
||||
@ -46,6 +46,7 @@ RUN set -eux && \
|
||||
tzdata \
|
||||
iputils \
|
||||
openssl \
|
||||
c-ares \
|
||||
libcap \
|
||||
libcurl \
|
||||
libevent \
|
||||
|
||||
@ -47,6 +47,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
hostname \
|
||||
nmap \
|
||||
krb5-workstation \
|
||||
c-ares \
|
||||
iputils \
|
||||
traceroute \
|
||||
libevent \
|
||||
|
||||
@ -48,6 +48,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
traceroute \
|
||||
nmap \
|
||||
krb5-workstation \
|
||||
c-ares \
|
||||
iputils \
|
||||
traceroute \
|
||||
libevent \
|
||||
|
||||
@ -64,6 +64,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
traceroute \
|
||||
nmap \
|
||||
krb5-workstation \
|
||||
c-ares \
|
||||
fping \
|
||||
shadow-utils \
|
||||
iputils \
|
||||
|
||||
@ -51,6 +51,7 @@ RUN --mount=type=cache,target=/var/cache/apt/,sharing=locked \
|
||||
traceroute \
|
||||
fping \
|
||||
openssl \
|
||||
libcares2 \
|
||||
libcurl4t64 \
|
||||
libevent-2.1 \
|
||||
libevent-pthreads-2.1 \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user