pdns_control command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pdns_control: command not found
or when using sudo you get the following error message
sudo: pdns_control: command not found
Solutions to pdns_control: command not found
How To Fix pdns_control: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pdns_control is provided by pdns-server package.
pdns-server is:
PowerDNS is a versatile nameserver which supports a large number of different backends ranging from simple zonefiles to relational databases and load balancing/failover algorithms. PowerDNS tries to emphasize speed and security.
This is the authoritative nameserver that answers questions about domains that it knows about. You also need at least one backend installed to serve data.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pdns-server
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pdns-server.
sudo apt -y install pdns-server
Or if you have aptitude installed you can use the following command.
sudo aptitude install pdns-server
Summary
In this tutorial we learn how to fix pdns_control command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.