Solved

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

Posted on 2013-06-25
6
630 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
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Restore from Windows disaster recovery backup to a Hyper V virtual machine 1 35
DFS Replication in Another Domain 3 41
Public DNS? 10 51
SBS2008 c:\ drive toosmall 64 60
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
Synchronize a new Active Directory domain with an existing Office 365 tenant
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…

919 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now