zone2ldap command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
zone2ldap: command not found
or when using sudo you get the following error message
sudo: zone2ldap: command not found
Solutions to zone2ldap: command not found
How To Fix zone2ldap: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu zone2ldap is provided by pdns-backend-ldap package.
pdns-backend-ldap 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 package contains the LDAP backend for the PowerDNS nameserver.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pdns-backend-ldap
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pdns-backend-ldap.
sudo apt -y install pdns-backend-ldap
Or if you have aptitude installed you can use the following command.
sudo aptitude install pdns-backend-ldap
Summary
In this tutorial we learn how to fix zone2ldap command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.