-TERMUX_PKG_VERSION=9.10.3
-TERMUX_PKG_BUILD_REVISION=1
-TERMUX_PKG_SRCURL="https://www.isc.org/downloads/file/bind-9-10-3/?version=tar-gz"
-TERMUX_PKG_FOLDERNAME="bind-${TERMUX_PKG_VERSION}"
-TERMUX_PKG_DEPENDS="openssl"
-TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --with-gssapi=no --with-randomdev=/dev/random -with-ecdsa=no --with-gost=no --with-libxml2=no"
+TERMUX_PKG_VERSION=9.11.1-P3
+TERMUX_PKG_SHA256=52426e75432e46996dc90f24fca027805a341c38fbbb022b60dc9acd2677ccf4
+TERMUX_PKG_SRCURL="ftp://ftp.isc.org/isc/bind9/${TERMUX_PKG_VERSION}/bind-${TERMUX_PKG_VERSION}.tar.gz"
+TERMUX_PKG_FOLDERNAME="bind-$TERMUX_PKG_VERSION"
+TERMUX_PKG_DEPENDS="openssl, readline, resolv-conf"
+TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
+--with-ecdsa=no
+--with-gost=no
+--with-gssapi=no
+--with-libjson=no
+--with-libtool
+--with-libxml2=no
+--with-openssl=$TERMUX_PREFIX
+--with-randomdev=/dev/random
+--with-readline=-lreadline
+"