[Dnsmasq-discuss] dry run mode

2019-02-11 Thread Graeme Peterson
Hi all. Happy 2019! A bit of an odd question: Is there any way to run dnsmasq in some kind of standalone test or dry-run mode without being connected to actual/virtual networks, where I could define subnets and IP ranges, somehow issue requests for IPs on subnets, and then use those IPs in my VM

[Dnsmasq-discuss] [PATCH] lease: prune lease as soon as expired

2019-02-11 Thread Florent Fourcot
We detected a performance issue on a dnsmasq running many dhcp sessions (more than 10 000). At the end of the day, the server was only releasing old DHCP leases but was consuming a lot of CPU. It looks like curent dhcp pruning: 1) it's pruning old sessions (iterate on all current leases). It's