domain: 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/lib/news/bin/auth/resolv/domain - from package: inn2

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