ANN: DNS resolver changes in yakkety

Michael Hudson-Doyle michael.hudson at canonical.com
Mon Jun 6 23:12:40 UTC 2016


On 7 June 2016 at 04:41, Dimitri John Ledkov <xnox at ubuntu.com> wrote:
> On 6 June 2016 at 17:27, Stéphane Graber <stgraber at ubuntu.com> wrote:
>> On Mon, Jun 06, 2016 at 03:17:51PM +0100, Robie Basak wrote:
>>
>> Unless the above can be fixed somehow, and I very much doubt resolved
>> will grow a DNS server any time soon, the switch to resolved mostly
>> feels like a regression over the existing resolvconf+dnsmasq setup we've
>> got right now and which in my experience at least, has been working
>> pretty well for us.
>>
>
> I have in the past tried to drop all config files from /etc.
>
> Dropping /etc/nsswitch.conf is trivial. Apart from libc and shadow
> very little else parses that, so that has minimal breakage so things
> that do call into libc end up doing the right thing.

Go binaries parse nsswitch.conf. If they find something they don't
recognize they use the cgo-based resolver (if that is built into the
binary, which I think is the case for most binaries we care about), so
this shouldn't break anything, just perform slightly worse.

Cheers,
mwh



More information about the ubuntu-devel mailing list