LXD: Dhcp-hosts in dnsmasq doesn't work. What I am doing wrong?

I tried to set:
lxc network set lxdbr0 raw.dnsmasq=“dhcp-hostsfile=/var/lib/snapd/hostfs/etc/hosts.dnsmasq”
lxc network set lxdbr0 raw.dnsmasq=“dhcp-host=11:22:33:44:55:66,hostname,nn.nn.nn.nn”

The container using dhcp with the correct mac address never get the IP.
What I am missing here?

Instead of using dhcp-host I did different:

The container was configured to acquire the ip using “dhcp” and in the host I did the command:

lxc config device set rem-db eth0 ipv4.address

The static ip assignment was using lxc config device.

Doing that, the container get the address using dhcp and the dnsmasq assign the name rem-db to that ip.

Is this the way it was designed to work?