Use 'infinite' lease time for LXD dnsmasq server

Hello,
In order to ensure that the containers will get the same IP address after a long period of time they were stopped, I would like to define the ‘infinite’ lease time for dnsmasq:

lxc network set lxdbr0 ipv4.dhcp.expiry infinite

Is there a way how it is possible to delete the IP address lease when a container is destroyed?
The only way to do it that I see is (a) delete the corresponding line from dnsmasq.leases and then (b) send the SIGHUP signal to the dnsmasq process in order to force it to reload the configuration.

Thank you.

Hello Stephan,
According to your message here (https://github.com/lxc/lxd/issues/3431) LXD is supposed to delete container IP address lease information when the container has been deleted.
I don’t see it happen in LXD 3.0.1 on Ubuntu 18.0.4.
Is it a bug?
Thank you,
Leonid

3.0.2 has a bugfix for this, so once that reaches 18.04, this issue should finally disappear.