DNSCMD error Hi,
We have problem with the DNSCMD script we use, it has worked with out any problems until the 22/5 after that this error came.
Command failed: ERROR ACCESS DENIED 5
I dont know what has happend anyone got a clue.
We are running server 2008. I have not changed anything on the server, though some MS updates have been applied.
Seems to be the MS update KB955430 that has messed up the script. The MS update can't be uninstalled. Here is a part of the script.
dnscmd %PRIMARYNS% /zoneadd %1%2 /primary /file %1%2.dns
dnscmd %PRIMARYNS% /recordadd %1%2 @ SOA %NS1% %ADMINMAIL% 1 900 600 %TTL% %TTL%
dnscmd %PRIMARYNS% /recordadd %1%2 @ NS %NS1%
dnscmd %PRIMARYNS% /recordadd %1%2 @ NS %NS2%
dnscmd %PRIMARYNS% /recorddelete %1%2 @ NS ns1 /f
dnscmd %PRIMARYNS% /recordadd %1%2 @ A %WEBIP%
dnscmd %PRIMARYNS% /recordadd %1%2 www A %WEBIP%
dnscmd %PRIMARYNS% /recordadd %1%2 * A %WEBIP%
dnscmd %PRIMARYNS% /recordadd %1%2 mail A %MAILIP%
dnscmd %PRIMARYNS% /recordadd %1%2 @ MX 10 mail.%1%2
dnscmd %SECONDARYNS% /zoneadd %1%2 /secondary %PRIMARYNS% /file %1%2.dns
Last edited by jimmy4650 : 09-Jun-2009 04:05 AM.
|