dnsproxy command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dnsproxy: command not found
or when using sudo you get the following error message
sudo: dnsproxy: command not found
Solutions to dnsproxy: command not found
How To Fix dnsproxy: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dnsproxy is provided by dnsproxy package.
dnsproxy is:
dnsproxy forwards DNS queries to two previously configured nameservers: one for authoritative queries and another for recursive queries. The received answers are sent back to the client unchanged. No local caching is done.
Primary motivation for this project was the need to replace Bind servers with djbdns in an ISP environment. These servers get recursive queries from customers and authoritative queries from outside at the same IP address. Now it is possible to run dnscache and tinydns on the same machine with queries dispatched by dnsproxy.
Another possible scenario is a firewall where proxy queries should be forwarded to the real server in a DMZ.
To fix this problem, we can install more using the command below.
sudo apt-get -y install dnsproxy
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dnsproxy.
sudo apt -y install dnsproxy
Or if you have aptitude installed you can use the following command.
sudo aptitude install dnsproxy
Summary
In this tutorial we learn how to fix dnsproxy command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.