[Samba] Conflict entries in DNS with DHCP and dynamic DNS updates
sambafan at outlook.de
Mon Feb 22 18:08:53 UTC 2021
@Norbert: I can't confirm that. My observation states that a commit event is executed on both DHCP nodes, even if only one of them executes or sends a DHCP-OFFER. This observation is based on the log. I have not analyzed it with wireshark.
I have to agree with Rowland that it is not a DynDNS update script problem.
However, the execution of the commit on both peers must not be a bug, because both peers must be aware of each other's leases and write them to the local lease database.
If anyone has an idea how to determine whether the primary node or the secondary node has been assigned responsibility for the lease and how to query that when the on-commit event is executed, a possible solution would be in sight.
Currently, as a workaround, I use the query for a possible "CNF entry" when executing the on-expiry event, and then delete that entry as well.
Thank you very much for this discussion!
More information about the samba