dnsmap: 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/dnsmap - from package: dnsmap

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