I'm using LXC containers, and resolving CONTAINERNAME.lxd to the IP of the specified container, using:
sudo resolvectl dns lxdbr0 $bridge_ip
sudo resolvectl domain lxdbr0 '~lxd'
This works great! But the changes don't persist over a host reboot.
(I've described 'things I've tried' as answers to this question, which have varying degrees of success.)
I'm on Pop!_OS 22.04, which is based on Ubuntu 22.04.
How should I be making these resolvectl changes persistent across reboots?