Comment 0 for bug 1389954

Revision history for this message
Forest (foresto) wrote :

The lxc package on ubuntu does almost nothing to help a user enable DNS resolution for containers via dnsmaq, let alone discover that it is possible. How about enabling it by default? I think all it would take is adding server=/lxc/10.0.3.1 to a file in /etc/NetworkManager/dnsmasq.d/ and uncommenting LXC_DOMAIN="lxc" in /etc/default/lxc-net.

Even if there's a good reason not to enable this by default, shouldn't it at least be clearly documented someplace obvious instead of buried in a system config file with a misleading comment that mentions the wrong dnsconf file to edit? (The dnsconf file path currently mentioned in /etc/default/lxc-net does nothing on ubuntu desktop systems, because NetworkManager starts dnsconf with a special config directory.)