Hi.
I’m developing among other things a Capistrano file, where I have to put a server address: it could be an IP or a domain name.
The server is a LXC, but each time I recreate it, it changes the IP, so I have to update the Capistrano file.
Let’s say the LXC instance name is lxc-instance. By any change does LXD already have a dns so I can get the IP by a name like lxc-instance.lxd.localhost
or something like that?
If not… is there a way to use the same IP always, each time I launch the container?
Thanks!