zone2ldap: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/sbin/zone2ldap - from package: bind-sdb
/usr/bin/zone2ldap - from package: pdns

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/zone2ldap - from package: pdns-backend-ldap

You may install the required package with command apt-get install {package}
Error in other languages:
zone2ldap: bevel nie gevind nie
zone2ldap: comandă negăsită
zone2ldap: comando não encontrado
zone2ldap: commande introuvable
zone2ldap: command not found
zone2ldap: käsku ei ole
zone2ldap: không tìm thấy lệnh
zone2ldap: komanda nerasta
zone2ldap: Kommando nicht gefunden.
zone2ldap: kommandot finns inte
zone2ldap: komut yok
zone2ldap: nie znaleziono polecenia
zone2ldap: níor aimsíodh an t-ordú
zone2ldap: no se encontró la orden
zone2ldap: no s'ha trobat l'ordre
zone2ldap: opdracht niet gevonden
zone2ldap: parancs nem található
zone2ldap: perintah tidak ditemukan
zone2ldap: príkaz nenájdený
zone2ldap: příkaz nenalezen
zone2ldap: команда не найдена
zone2ldap: командата не е открита
zone2ldap: 命令找不到
zone2ldap: コマンドが見つかりません