mydnsexport-pgsql: 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/mydnsexport-pgsql - from package: mydns-pgsql

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