On Sun, 6 Jun 2021, Rowland penny via samba wrote:
> On 04/06/2021 21:38, Adam Pribyl via samba wrote:
>> I have exactly the same thing like described here:
>>
https://www.reddit.com/r/samba/comments/nh1zqc/samba_dlz_staled_dns_records_cannot_be_deleted/
>>
>> 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: 192.168.0.5 (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
>> https://wiki.samba.org/index.php/DNS_Administration
>>
>> I am on samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.23 with BIND9_DLZ as AD.
>>
>> How should one remove these "empty" names?
>>
>>
>> Thanks
>>
>> Adam Pribyl
>>
> Upgrade Samba, the 'cleanup' option was added at 4.8.0
>
> Rowland
Hm, tell it to Ubuntu LTS... samba-tool is a python "wrapper" after
all.
Maybe it could be used from 4.8.0?
Adam Pribyl