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”
or
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 10.250.1.10

The static ip assignment was using lxc config device.

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

Is this the way it was designed to work?