Solved

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

Posted on 2013-06-25
6
614 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
The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

 

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

Integrate social media with email signatures

Is your company active on social media? Do you also use email signatures? Including social media icons in your email signature is a great way to get fans for free. Let all your email users know you’re on social media quickly and easily, in a single click.

Join & Write a Comment

Suggested Solutions

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
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…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

706 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

19 Experts available now in Live!

Get 1:1 Help Now