[lxc-devel] dnsmasq and resolv.conf containers

Serge Hallyn serge.hallyn at canonical.com
Thu Jan 17 14:45:51 UTC 2013


Quoting Laurent Ducos (laurent.ducos at biblibre.com):
> Hello.
> 
> I use lxc and lxc-net on unbuntu 12.10 that works fine.
> My problem is about the /etc/resolv.conf file in the container.
> 
> I think the file is written by dnsmasq when assigning dhcp lease
> 
> Is it possible to tell dnsmasq : wrote "nameserver 8.8.8.8 nameserver 
> 8.8.4.4" in place of the value of "--listen-address" (dnsmask command 
> line) ?

Not sure *exactly* what you want, but I think the information you want
is in the resolvconf(8) manual page.

-serge




More information about the lxc-devel mailing list