Diagnostic step 1
Before maintenance, gracefully stop dnsmasq and back up /var/lib/misc/dnsmasq.leases (or distro-specific path); after restart, restore lease file and restart dnsmasq to preserve mapping. Test in a maintenance window.
Generated Oct 3, 2026, 12:35:03 AM
Before maintenance, gracefully stop dnsmasq and back up /var/lib/misc/dnsmasq.leases (or distro-specific path); after restart, restore lease file and restart dnsmasq to preserve mapping. Test in a maintenance window.
Enable persistent static DHCP host entries in dnsmasq configuration for critical VMs using MAC→IP mappings to avoid dynamic reallocation on restart.
When resuming many VMs, stagger resumes and monitor DHCP server logs; consider scripting forced dhclient renewals across guests after dnsmasq reload to sync state.
Deploy a small health-check script that inspects dnsmasq.leases for duplicate MAC/IP entries and logs or fixes them automatically; avoid in-place manual editing of lease files while dnsmasq is running.
If lease corruption is frequent despite precautions, consider running a highly-available DHCP service or move VM networking to an external DHCP appliance; escalate to virtualization/networking team for HA design changes.