25 Feb
2014
25 Feb
'14
9:43 p.m.
Op 25 feb. 2014 20:56 schreef "Leonid Isaev" <lisaev@umail.iu.edu> het volgende:
[...]
* The simplest way to take care of DNS (that is without any additional host configuration) is to use a static resolv.conf inside the container with a public DNS service, e.g. --- $ cat /var/lib/lxc/appserver1/rootfs/etc/resolv.conf nameserver 8.8.8.8 nameserver 8.8.4.4
This seems a bit weird; personally i would prefer something like dnsmasq, or at least some internal dns server. Unless the container is only used for browsing/serving on the Internet. Using public DNS servers, you won't be able to resolv local addresses. mvg, Guus