dnstap-read: command not found. Install dnstap-read command on Fedora
How to Install dnstap-read command on Fedora server
bash: dnstap-read: command not found
dnstap-read command reads dnstap data from a file and prints it in a human-readable format.
Got the above error on Fedora server. dnstap-read command is provided by bind-utils package.
Do the below steps to install dnstap-read command on Fedora server.
1. Log into Fedora server as root user
2. Install the package bind-utils using dnf command
#dnf install bind-utils
OR
#sudo dnf install bind-utils
3. Enter ‘y’ and press enter, if dnf ask for confirmation while installing
The below dependencies will be installed.
Dependencies resolved.
===================================================================================================
Package Architecture Version Repository Size
===================================================================================================
Installing:
bind-utils x86_64 32:9.11.14-2.fc31 updates 234 k
Installing dependencies:
bind-libs x86_64 32:9.11.14-2.fc31 updates 93 k
bind-libs-lite x86_64 32:9.11.14-2.fc31 updates 1.1 M
bind-license noarch 32:9.11.14-2.fc31 updates 20 k
fstrm x86_64 0.5.0-1.fc31 updates 27 k
libmaxminddb x86_64 1.2.0-8.fc31 fedora 23 k
lmdb-libs x86_64 0.9.24-1.fc31 updates 59 k
protobuf-c x86_64 1.3.1-3.fc31 fedora 35 k
Transaction Summary
===================================================================================================
Install 8 Packages
Total download size: 1.6 M
Installed size: 4.3 M
Is this ok [y/N]: y
Download and install bind-utils rpm
1. Log into fedora server as root user
2. Download bind-utils package from fedoraproject.org using wget command
# wget https://download-ib01.fedoraproject.org/pub/fedora/linux/releases/31/Everything/x86_64/os/Packages/b/bind-utils-9.11.11-1.fc31.x86_64.rpm
3. Install the below dependencies before installing bind-utills
bind-libs
bind-libs-lite
bind-license
fstrm
libmaxminddb
lmdb-libs
protobuf-c
4. Install bind-utils using rpm command
#rpm -ivh bind-utils-9.11.11-1.fc31.x86_64.rpm
dnstap-read command usage
dnstap-read: illegal option — –
dnstap-read [-mp] [filename]
-m trace memory allocations
-p print the full DNS message
-y print YAML format (implies -p)