I was wondering what happens with the DNS *.lxd names for containers with the same name on two different projects. I found out that they don’t work as expected.
If I have containers a, b on the default project and a, c on project p1, then a.lxd resolves to the same IP on both projects (from containers b and c), which means that one of the two “a” containers is not addressable via its .lxd name.
Is there a solution to this?
I would expect that a.lxd should resolve to the ip of (default)a from container (default)b and to the ip of (p1)a from container (p1)c. Alternately, perhaps there could be DNS names that include the project, e.g. p1_a.lxd vs a.lxd.