freefoam-dns: 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/bin/freefoam-dns - from package: freefoam

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