ldns-gen-zone: 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/bin/ldns-gen-zone - from package: ldns

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

On Debian possible default full paths are:

/usr/bin/ldns-gen-zone - from package: ldnsutils

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