On 08.02.22 19:32, Ed W wrote:
This is never going to get high enough up my todo list to try, but I did wonder
if a simple
"clustered" system could be built using DBUS or similar events. When a lease is
allocated DBUS (and
a script) is run notifying about that. A little daemon could then use this hook
to notify another
instance of dnsmasq. In fact I think the hook is run synchronously? So it
should be possible to ship
new leases across to the other instance
I can think of a number of ways this can be racy... However, for a little home
lab it would surely
be good enough. I'm not sure how to handle failover, but a few simple ideas
spring to mind (I'm
thinking of a pure warm standby kind of setup, where something promotes the
secondary to primary)
Anyway, just shooting the breeze...
I believe Simon's answer means: dnsmasq is small server for small systems. If
you need cluster-like features, you should try isc or kea dhcp servers.
On 05/02/2022 11:06, Simon Kelley wrote:
It could work; there's a whole IETF standard for DHCP failover and it's
implemented beautifully by
ISC dhcp. If that's your niche, then ISC is the way to go.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
If Barbie is so popular, why do you have to buy her friends?
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss