[Samba] dns_delete_tombstones error messages

Rowland Penny rpenny at samba.org
Fri Mar 7 10:57:55 UTC 2025


On Thu, 6 Mar 2025 22:24:47 +0100
Norbert Hanke via samba <samba at lists.samba.org> wrote:

> Hi all,
> 
> Since quite some time I see error messages like this in sysslog, on
> all my Samba Domain Controllers:
> 
> Mar  6 12:40:41 dc1 daemon.err samba[448205]: [2025/03/06
> 12:40:41.899326,  0]
> source4/dsdb/kcc/scavenge_dns_records.c:470(dns_delete_tombstones)
> Mar  6 12:40:41 dc1 daemon.err samba[448205]: dns_delete_tombstones:
> The tombstoned dns node
> DC=E7450,DC=ad.mydomain.tld,CN=MicrosoftDNS,DC=DomainDnsZones,DC=ad,DC=mydomain,DC=tld
> has 611 dns records, expected one.
> 
> How can I get rid of these 610 extra tombstones?
> 

Provided that the tombstoned records are in the form
'......0ADEL.......', then you can use samba-tool on a DC:

sudo samba-tool domain tombstones expunge --tombstone-lifetime=0

Usually warnings apply, make sure you have a good backup first.

Rowland





More information about the samba mailing list