dns2tcpd command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dns2tcpd: command not found
or when using sudo you get the following error message
sudo: dns2tcpd: command not found
Solutions to dns2tcpd: command not found
How To Fix dns2tcpd: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dns2tcpd is provided by dns2tcp package.
dns2tcp is:
dns2tcp is a set of tools to encapsulate a TCP session in DNS packets. This type of encapsulation generates smaller packets than IP-over-DNS, improving throughput. The client does not need root privileges.1
To fix this problem, we can install more using the command below.
sudo apt-get -y install dns2tcp
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dns2tcp.
sudo apt -y install dns2tcp
Or if you have aptitude installed you can use the following command.
sudo aptitude install dns2tcp
Summary
In this tutorial we learn how to fix dns2tcpd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.