dms_update_wsgi_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/sbin/dms_update_wsgi_dns - from package: dms-dr

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