Aparentemente, según el enlace provisto en la pregunta:
dnstap will be generally available in BIND 9.11 but is in certain editions of earlier versions, such as BIND 9.9.8-S5
Entonces, al ser BIND en Debian 9, v9.10.x, podemos suponer que no tiene soporte dnstap
.
Además, un ticket de error reciente para las pruebas de Debian solicita compilarlo con soporte de DNS.
Error #890483 :bind9 :compilar con soporte dnstap
Sin embargo, también puede verificar las opciones de tiempo de compilación con named -V
. No hay ninguna opción --enable-dnstap
en Estirar allí.
$ named -V
BIND 9.10.3-P4-Debian
built by make with '--prefix=/usr' '--mandir=/usr/share/man' libdir=/usr/lib/x86_64-linux-gnu' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--with-python=python3' '--localstatedir=/' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-gost=no' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-geoip=/usr' '--with-atf=no' '--enable-ipv6' '--enable-rrl' '--enable-filter-aaaa' '--enable-native-pkcs11' '--with-pkcs11=/usr/lib/x86_64-linux-gnu/softhsm/libsofthsm2.so' '--with-randomdev=/dev/urandom' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/bind9-zVMG3I/bind9-9.10.3.dfsg.P4=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -fno-delete-null-pointer-checks -DNO_VERSION_DATE -DDIG_SIGCHASE' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'
compiled by GCC 6.3.0 20170516
compiled with OpenSSL version: OpenSSL 1.0.2l 25 May 2017
linked to OpenSSL version: OpenSSL 1.0.2l 25 May 2017
compiled with libxml2 version: 2.9.4
linked to libxml2 version: 20904
deman named
:
-V
Report the version number and build options, and exit.
Según los parches enviados con el informe de error mencionado anteriormente, en el archivo de control de Debian puede ver las nuevas dependencias sugeridas, python3-ply
, protobuf-c-compiler
y libfstrm-dev
.
Verificando con apt-cache showpkg bind9
tampoco hay en las dependencias listadas para Stretch.
Al observar la lista de dependencias en bind9
para Buster/testing en https://packages.debian.org/buster/bind9, versión 9.11.2.P1 -1, también es evidente que bind9
tampoco está compilado con dnstap
habilitado en la rama de pruebas.
Entonces, ¿se puede decir que la funcionalidad de Debian BIND dnstap
no es compatible con la versión BIND en la rama estable de Debian, y BIND en la rama de prueba de Debian todavía no lo es (? )compilado para habilitarlo.
PD. Como señala correctamente GAD3R, también puede obtener con apt-src
el paquete fuente para verificar la directiva ./configure
en debian/rules del paquete bind9. (o ir a github? no puedo encontrar la dirección oficial de Debian bind9)
Опция -s
для встроенной -утилиты read
не является стандартной опцией и вряд ли будет реализована в sh
. Точно так же параметр -p
для выдачи пользовательского приглашения вряд ли будет реализован универсальным sh
.
Вместо этого запустите свой скрипт с bash
, чей read
поддерживает -s
для чтения с терминала без повторения введенного -в символах (, а также-p
).Самый простой способ сделать это — изменить строку#!
-так, чтобы она указывала на исполняемый файл bash
в вашей системе.
В оболочке, отличной от -bash
, вы можете получить аналогичный эффект с помощью
printf 'Enter password: ' >&2
stty -echo
read password
stty echo