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

Rowland penny rpenny at samba.org
Sun Jun 6 09:34:51 UTC 2021


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





More information about the samba mailing list