Changing dnsmasq port number on LXD snap

I’m trying to install the lxd snap package but it seems there is a dnsmasq running within the snap which is trying to bind itself to port 53 but I already have another DNS server running in this same port. How can I change the port which dnsmasq is running and make lxd use it?

Thanks.