dns-createzonekeys: 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 Debian possible default full paths are:

/usr/sbin/dns-createzonekeys - from package: dms-core

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