rndc-confgen: 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/rndc-confgen - from package: bind

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

On Debian possible default full paths are:

/usr/sbin/rndc-confgen - from package: bind9utils

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