[lxc-users] How to check DNS records of containers

David Favor david at davidfavor.com
Tue Jul 11 13:58:17 UTC 2017


Adil Baig wrote:
> In the new LXD (2.5+) is there automatic DNS resolution for containers 
> on the host? 
> 
> I'd like to configure a virtual host on Apache (on the host mahcine) to 
> proxy requests to a container using its DNS rather than its IP. How can 
> i do this?

Mention your OS.

If you're using Ubuntu for your container OS, the evil systemd-resolved
comes into play.

Minor acts of wrathful deities are required to purge the systemd-resolved scourge.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170711/f30de047/attachment.html>


More information about the lxc-users mailing list