ldns-walk: 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-walk - from package: ldns

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

On Debian possible default full paths are:

/usr/bin/ldns-walk - from package: ldnsutils

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