[Samba] Fwd: DHCP Updates to DNS - Multiple Entries with Same IP
rpenny at samba.org
Thu May 21 12:07:32 UTC 2020
On 21/05/2020 12:22, Derek Cramer via samba wrote:
> I had exactly the same issue with dual dhcp servers. I solved it by
> modifying the script to do conditional updates. I.e. only add the A/PTR
> entries if they are not already present.
Now that is a good idea, why didn't I think of it ;-)
I have identified a slight bug with the 'add' part, if you reboot a
client and it releases the IP, then when the the client comes up and the
script is run, it claims the update has failed, even though it has
succeeded. I have a fix.
The problem with the 'failover' is down to using '128' on both DC's,
this leads to both of them replying to requests, I will update the
wikipage to use '255' on the primary and '0' on the secondary. This
should lead to only one (the primary) replying unless the primary goes down.
More information about the samba