?
Solved

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

Posted on 2013-06-25
6
Medium Priority
?
677 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 

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 2000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

A hard and fast method for reducing Active Directory Administrators members.
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
Suggested Courses

800 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