[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:
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
More information about the samba
mailing list