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

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

On Debian possible default full paths are:

/usr/sbin/lwresd - from package: lwresd

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