Similar to LXC, LXD 2.x can also assign static IP addresses. Almost similar approach but the files are slightly different.
Also note as of LXD 2.3 there are may be networking tools that take care of this.
Modify /etc/default/lxd-bridge to reference an external dnsmasq.conf,
...