[Samba] DNS PTR update fails if IP is reused by another client
Patrick Goetz
pgoetz at math.utexas.edu
Mon Dec 13 16:20:56 UTC 2021
I was looking for a way to use samba-tool to list all the PTR records
associated with the domain, but couldn't find anything. What's the best
way to do this?
On 12/12/21 10:58, Andrew Bartlett via samba wrote:
> On Sat, 2021-12-11 at 13:36 +0000, Rowland Penny via samba wrote:
>>
>> There is something going very wrong here. When you delete a dns
>> object
>>
>> in AD, it isn't really deleted. It has a few attributes removed and
>> is
>>
>> renamed and then moved to 'CN=Deleted
>>
>> Objects,DC=DomainDnsZones,DC=samdom,DC=example,DC=com'
>>
>>
>>
>> This means that the reverse record shouldn't be there when Windows
>>
>> tries to create/alter the record.
>
> DNS has two levels of tombstones, because clients so often do a
> delete/add cycle it would quickly fill the DB (this used to happen,
> long ago I was helping out a school with 100,000 DNS tombstones).
>
> So objects become DNS 'deleted' but still owned (for SD purposes) by
> the original name, then those get scavenged and become properly deleted
> (so no squatting on that name).
>
> Andrew Bartlett
>
More information about the samba
mailing list