There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Windows Server
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet java laptop lcd malware memory missing monitor motherboard network printer problem ram registry router security slow software sound svchost.exe trojan ubuntu 11.10 usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Windows Server >
DNSCMD error

Reply  
Thread Tools
jimmy4650's Avatar
Junior Member with 2 posts.
 
Join Date: Jun 2009
Experience: Advanced
09-Jun-2009, 04: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 at 05:05 AM..
peterh40's Avatar
Computer Specs
Senior Member with 1,082 posts.
 
Join Date: Apr 2007
Location: England
Experience: Advanced
10-Jun-2009, 08: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, 11: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
Reply

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.

Search Tech Support Guy

Find the solution to your
computer problem!




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



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 02:59 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.