[Samba] How to remove DNS names with Records=0

Adam Pribyl pribyl at lowlevel.cz
Fri Jun 4 20:38:34 UTC 2021

I have exactly the same thing like described here:

In "samba-tool dns query server.mydomain.loc mydomain.loc @ ALL" I see 
names like this:

   Name=sofk-puppetboard01, Records=0, Children=0 -------------> this one
   Name=sofn-ap001, Records=1, Children=0
     A: (flags=f0, serial=405, ttl=0)

in reddit a solution is that there should be a

samba-tool dns cleanup

but I have nothing like that in my installation, neither I found 
it documented anywhere else like 

I am on samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.23 with BIND9_DLZ as AD.

How should one remove these "empty" names?


Adam Pribyl

More information about the samba mailing list