There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Tag Cloud
acer audio bios boot bsod computer connection crash dell driver drivers error excel firefox freeze hard disk hard drive hardware hijackthis internet laptop linksys macro malware network networking outlook outlook 2003 outlook 2007 password problem realtek recovery redirect server slow trojan upgrade usb video virus vista vpn windows windows 7 windows vista windows xp windowsxp wireless youtube
Search
Search for:
Tech Support Guy Forums > Operating Systems > Windows Server >
DNSCMD error

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
jimmy4650's Avatar
Junior Member with 2 posts.
 
Join Date: Jun 2009
Experience: Advanced
09-Jun-2009, 02:48 AM #1
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 03:05 AM.
peterh40's Avatar
Computer Specs
Senior Member with 761 posts.
 
Join Date: Apr 2007
Experience: Advanced
10-Jun-2009, 06:05 AM #2
Is the user used to run the script have Domain Admins or Enterprise Admins is a member of the Builtin\Administrators group on the DC or server.
jimmy4650's Avatar
Junior Member with 2 posts.
 
Join Date: Jun 2009
Experience: Advanced
10-Jun-2009, 09:17 AM #3
the user is the local administrator account. No AD domain is setup on the server as it only acts as a DNS server
Closed Thread Bookmark and Share   techguy.org/833812

Tags
dns, server 2008

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 05:47 AM.
Copyright © 1996 - 2010 TechGuy, Inc. All rights reserved.
Powered by Cermak Technologies, Inc.