I like the fact that I can reach containers by their name when communicating from within containers on the same bridge.
This does not seem possible directly from the host, though. Using resolvectl, I can make some settings that do allow me to reach containers with {containername}.incus.
sudo resolvectl dns incusbr0 {ip address of incusbr0}
sudo resolvectl domain incusbr0 '~incus'
For the love of me, I can’t figure out how to persist these settings without taking ownership of the whole interface.
I see that @simos wrote an article a few years back how to do this with LXD on Ubuntu 18.04. I was wondering if these instructions are still valid in 2025 with Ubuntu 24. Or if there are better approaches available now.