Solved

How to: Delete zones from Windows Sever 2008 - DNS Server Management?

Posted on 2013-06-25
6
667 Views
Last Modified: 2013-08-05
Trying to delete a reverse lookup DNS zone using the command line approach.

dnscmd localhost /zonedelete 0.in-addr.arpa /dsdel

I receive the following error: DNS_ERROR_INVALID_ZONE_TYPE 9611

Am I doing something wrong here?
0
Comment
Question by:cgruber
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 13

Expert Comment

by:Jaihunt
ID: 39273995
Its AD integrated zone or standalone dns? if its a standalone dns remove the /dsdel in the command. /dsdel is for AD integrated zones only.

Note the addition of /dsdel to the command. This is require to remove the zone from AD if it is AD integrated. Otherwise you will receive an error such as DNS_ERROR_INVALID_ZONE_TYPE 9611. If you are working with a non-AD integrated zone then it is fine without /dsdel.

Refer the below

http://jefferyland.wordpress.com/2009/03/18/configuring-dns-zones-in-core/
0
 

Author Comment

by:cgruber
ID: 39274087
Its an AD integrated zone.

I tried both, with and without. No go.
0
 
LVL 13

Expert Comment

by:Jaihunt
ID: 39274214
Is this correct format of your reverse zone 0.in-addr.arpa .? Have you tried to delete it directly from dnsmgmt.msc.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

Author Comment

by:cgruber
ID: 39274236
Yes, delete is not an option appearing when right clicking on it.
0
 
LVL 24

Expert Comment

by:Sandeshdubey
ID: 39274413
You are missing some octet.Below is the sample example
C:\>dnscmd /zonedelete 1.168.192.in-addr.arpa /dsdel

You can also connect to ADSIEDIT and delete the reqruired zone.
http://msmvps.com/blogs/acefekay/archive/2009/09/02/using-adsi-edit-to-resolve-conflicting-or-duplicate-ad-integrated-dns-zones.aspx
0
 
LVL 9

Accepted Solution

by:
VirastaR earned 500 total points
ID: 39274454
Hi,

According to the Technet -

Delete a Zone

http://technet.microsoft.com/en-us/library/cc816812(v=ws.10).aspx
This is the Syntax

dnscmd <ServerName> /ZoneDelete <ZoneName> [/DsDel] [/f]

<ServerName>
Required. Specifies the DNS host name of the DNS server. You can also type the IP address of the DNS server. To specify the DNS server on the local computer, you can also type a period (.)
 
What i see you are using is the localhost,try the command with the Hostname/Full FQDN

It should work!

Hope that helps :)
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question