[Samba] How To Delete DNS Domain

lp101 lingpanda101 at gmail.com
Tue Feb 11 08:34:01 MST 2014

     Thanks for the reply. This is a test DC in a Virtual 
Environment(Ubuntu 12.04 and Samba 4.1.4).  Using Samba Internal DNS and 
two DC's joined. Attempting to see what works using the Windows tools 
and what doesn't. I receive the following in log.samba when attempting 
to delete the domain using DNS RSAT.

[2014/02/10 19:50:18.942624,0] 

dnsserver: zone operation 'DeleteNode' not implementedDnssrvOperation2: 
struct DnssrvOperation2

in: struct DnssrvOperation2

dwClientVersion: DNS_CLIENT_VERSION_LONGHORN (458752)

dwSettingFlags: 0x00000000 (0)

pwszServerName: *

pwszServerName: 'samba4dc1'

pszZone : *

pszZone: 'domain.local'

dwContext: 0x00000000 (0)

pszOperation: *

pszOperation: 'DeleteNode'


pData: union DNSSRV_RPC_UNION(case 15)

NameAndParam: *

NameAndParam: struct DNS_RPC_NAME_AND_PARAM

dwParam: 0x00000001 (1)

pszNodeName: *

pszNodeName: 'testdomain1.domain.local'

After receiving this error I closed the DNS snap in and relaunched it. I 
noticed the object I created "testdomain1" was gone. Even though I 
received this error. Attempting to recreate this same object gives 
another error alluding to database inconsistency. As in the object still 
exists however I can't see it nor recreate it.

On 2/8/2014 10:46 AM, Marc Muehlfeld wrote:
> Hello,
> Am 07.02.2014 21:43, schrieb lp101:
>>      Can someone provide the correct syntax to delete a domain from DNS
>> using samba-tool? If I use windows DNS snapin and create a domain. I'm
>> unable to delete it by right clicking and choosing delete. I receive the
>> following error "The DNS domain cannot be deleted. This function is not
>> supported on this system."
> Samba-Tool:
> http://wiki.samba.org/index.php/DNS_Administration#Deleting_a_zone_2
> But on Windows it should work, too:
> http://wiki.samba.org/index.php/DNS_Administration#Deleting_a_zone
> (at least it did when I wrote the HowTo).
> Do you use the internal DNS or Bind_DLZ? And if Bind_DLZ, is it a 
> Domain provided by AD or native through Bind?
> What messages do you get in your Samba logs, when you receive the error?
> Regards,
> Marc

More information about the samba mailing list