dnstap command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dnstap: command not found
or when using sudo you get the following error message
sudo: dnstap: command not found
Solutions to dnstap: command not found
How To Fix dnstap: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dnstap is provided by golang-github-dnstap-golang-dnstap-cli package.
golang-github-dnstap-golang-dnstap-cli is:
dnstap implements an encoding format for DNS server events. It uses a lightweight framing on top of event payloads encoded using Protocol Buffers and is transport neutral. dnstap can represent internal state inside a DNS server that is difficult to obtain using techniques based on traditional packet capture or unstructured textual format logging.
This package contains the “dnstap” command line tool.
To fix this problem, we can install more using the command below.
sudo apt-get -y install golang-github-dnstap-golang-dnstap-cli
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install golang-github-dnstap-golang-dnstap-cli.
sudo apt -y install golang-github-dnstap-golang-dnstap-cli
Or if you have aptitude installed you can use the following command.
sudo aptitude install golang-github-dnstap-golang-dnstap-cli
Summary
In this tutorial we learn how to fix dnstap command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.