libgnutls28-dev libprotobuf-dev libprotobuf-c-dev libfstrm-dev
ENV KNOT_RESOLVER_BUILD_DEPS build-essential pkg-config bsdmainutils liblmdb-dev \
libluajit-5.1-dev libuv1-dev libprotobuf-dev libprotobuf-c-dev \
- libfstrm-dev luajit lua-sec lua-socket libssl-dev
+ libfstrm-dev luajit lua-socket lua-http libssl-dev
ENV BUILDENV_DEPS ${KNOT_DNS_BUILD_DEPS} ${KNOT_RESOLVER_BUILD_DEPS}
RUN echo "deb http://deb.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/backports.list
RUN apt-get update -qq && \
# Install runtime dependencies
ENV KNOT_DNS_RUNTIME_DEPS libgnutls30
-ENV KNOT_RESOLVER_RUNTIME_DEPS liblmdb0 luajit libluajit-5.1-2 libuv1 lua-sec lua-socket
+ENV KNOT_RESOLVER_RUNTIME_DEPS liblmdb0 luajit libluajit-5.1-2 libuv1 lua-socket lua-http
ENV KNOT_RESOLVER_RUNTIME_DEPS_HTTP lua-http lua-mmdb
ENV KNOT_RESOLVER_RUNTIME_DEPS_EXTRA libfstrm0 lua-cqueues
ENV KNOT_RESOLVER_RUNTIME_DEPS_SSL ca-certificates
# RUN apt-get upgrade -y -qqq
# Knot and Knot Resolver dependecies
-RUN apt-get install -y -qqq git make cmake pkg-config build-essential bsdmainutils libtool autoconf liburcu-dev libgnutls28-dev libedit-dev liblmdb-dev libcap-ng-dev libsystemd-dev libidn11-dev protobuf-c-compiler libfstrm-dev libuv1-dev libcmocka-dev libluajit-5.1-dev lua-sec lua-socket meson libssl-dev
+RUN apt-get install -y -qqq git make cmake pkg-config build-essential bsdmainutils libtool autoconf liburcu-dev libgnutls28-dev libedit-dev liblmdb-dev libcap-ng-dev libsystemd-dev libidn11-dev protobuf-c-compiler libfstrm-dev libuv1-dev libcmocka-dev libluajit-5.1-dev lua-socket lua-http meson libssl-dev
# documentation dependecies
RUN apt-get install -y -qqq doxygen python3-sphinx python3-breathe python3-sphinx-rtd-theme
The format is standard zone file, though additional information may be persisted in comments.
Either DS or DNSKEY records can be used for TAs.
If the file does not exist, bootstrapping of *root* TA will be attempted.
+ If you want to use bootstrapping, install `lua-http`_ library.
Each file can only contain records for a single domain.
The TAs will be updated according to :rfc:`5011` and persisted in the file (if allowed).
.. _`real process managers`: http://blog.crocodoc.com/post/48703468992/process-managers-the-good-the-bad-and-the-ugly
.. _`socket activation`: http://0pointer.de/blog/projects/socket-activation.html
.. _`dnsproxy module`: https://www.knot-dns.cz/docs/2.7/html/modules.html#dnsproxy-tiny-dns-proxy
+.. _`lua-http`: https://luarocks.org/modules/daurnimator/http
adduser
dns-root-data
-lua-sec
lua-socket
systemd
libc6
'libedit'
'libuv'
'lmdb'
- 'lua51-sec'
- 'lua51-socket'
'luajit'
'systemd'
'libcap-ng'
optdepends=(
'lua51-basexx: experimental_dot_auth module',
'lua51-cqueues: http and dns64 module, policy.rpz() function',
- 'lua51-http: http module',
+ 'lua51-http: http and prefill modules, trust_anchors bootstrap',
'lua51-psl: policy.slice_randomize_psl() function',
)
makedepends=(
Depends:
adduser,
dns-root-data,
- lua-sec,
lua-socket,
systemd,
${misc:Depends},
Recommends:
lua-basexx,
lua-cqueues,
+ lua-http,
lua-psl,
Suggests:
knot-resolver-module-http,
Requires: lua-basexx
Requires: lua-psl
Requires: lua-socket
-Requires: lua-sec
Requires(pre): shadow-utils
%endif
%if 0%{?fedora}
BuildRequires: python3-sphinx
Requires: lua5.1-basexx
Requires: lua5.1-cqueues
+Requires: lua5.1-http
Recommends: lua5.1-psl
Requires: lua-socket-compat
-Requires: lua-sec-compat
Requires(pre): shadow-utils
%endif
BuildRequires: lmdb-devel
BuildRequires: python3-Sphinx
Requires: lua51-luasocket
-Requires: lua51-luasec
Requires(pre): shadow
%endif
SUBMENU:=IP Addresses and Names
TITLE:=Knot DNS Resolver
URL:=https://gitlab.labs.nic.cz/knot/resolver
- DEPENDS=+knot-libs +knot-libzscanner +libuv +luajit +dnssec-rootkey +resolver-conf +luasec +luasocket +libstdcpp
+ DEPENDS=+knot-libs +knot-libzscanner +libuv +luajit +dnssec-rootkey +resolver-conf +luasocket +libstdcpp
PROVIDES:=dns-resolver
endef
Dependencies
^^^^^^^^^^^^
-Depends on the luasec_ library.
+Depends on the prefill-lua-http_ and luafilesystem_ libraries.
-.. _luasec: https://luarocks.org/modules/brunoos/luasec
+.. _prefill-lua-http: https://luarocks.org/modules/daurnimator/http
+.. _luafilesystem: https://keplerproject.github.io/luafilesystem/