Tuesday 31 May 2016

Re: ANN: DNS resolver changes in yakkety

Hello Stéphane,

Stéphane Graber [2016-05-31 11:31 -0400]:
> One more thing on that point which was just brought up in:
> https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1571967
>
> In the past, with dnsmasq on desktop we could ship a .d file which would
> instruct the system dnsmasq to forward all ".lxc" or ".lxd" queries to
> the LXC or LXD dnsmasq instance.

Per-domain DNS servers can't be configured globally via files in
resolved, only per network device. However, you said in the bug that
this isn't working on the host anyway, only from within containers.
And for those lxc sets up its own dnsmasq which the containers use
as DNS server, so nothing should change in that regard, unless you are
planning to replace lxc's dnsmasq as well.

FYI, this can be made to work on the host if lxc/lxd would register
containers in machined, then libnss-mymachines will resolve those
names.

Thanks,

Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)