in reply to Re^2: DNScmd in perl scriptin thread DNScmd in perl script
Try printing $! and see if it is No such file or directory.