[lxc-users] Failure to resolve container hostname

Bill Smith william.m.smith at gmail.com
Tue Jul 15 11:42:40 UTC 2014


I had trouble resolving container hostnames too.  This seems to work: add
nameserver 10.0.3.1 to the host's appropriate resolvconf file, and then
remove nameserver 127.0.0.1 from the container's appropriate resolvconf
file.

You can see a writeup here:
http://askubuntu.com/questions/490445/how-to-add-lxc-containers-to-hosts-dns-so-that-getaddrinfo-can-resolve-them

Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140715/e0d00074/attachment.html>


More information about the lxc-users mailing list