[Dnsmasq-discuss] DHCP lease hostname with multiple hosts of the same name
pemensik at redhat.com
Fri Jul 2 14:42:22 UTC 2021
current dnsmasq has a bug  in handling hostname setting. When two
hosts request equal hostname, dnsmasq will reset name in previous lease
and change registered name to the most recent requestor adddress.
It does not work well with lease-script used by libvirt, because when
lease name is reset, such change is not propagated to script. It changes
only when dnsmasq is restarted. It does not load leases the same way,
only one of leases would contain name.
I have attached simple fix to propagate change to lease script. It would
make lease handler report correct state and it works nice with libvirt.
I am not sure current algorithm is the best one for leases reservation.
Replacement of previous lease hostname works even without restart after
Red Hat, http://www.redhat.com/
email: pemensik at redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 716 bytes
Desc: not available
More information about the Dnsmasq-discuss