DNSMASQ Cheat Sheet

Human readable options

https://blog.abysm.org/2020/06/human-readable-dhcp-options-for-dnsmasq/

Show status with log

  • watch systemctl status dnsmasq

Show leases

  • cat /var/lib/misc/dnsmasq.leases

Remove a lease

  • cat /var/lib/misc/dnsmasq.leases
  • service dnsmasq stop
  • vi /var/lib/misc/dnsmasq.leases
    • delete line
    • save
  • service dnsmasq start