in reply to DNSCMD will not work in Perl script
Well, first thing that caught my eye is that "ExecAndReturn" function. You don't show the code, but it sounds like an oxymoron, since exec doesn't return by definition.
If you haven't already, you should try running that command as the user that your webserver is using to clinch the issue. If you really do have to be admin to do it, then your problem is clear.
|
|---|