[systemd-devel] nss-mymachines: slow name resolution

Lennart Poettering lennart at poettering.net
Tue Feb 16 14:35:24 UTC 2016


On Mon, 15.02.16 21:32, Kai Krakow (hurikhan77 at gmail.com) wrote:

> Am Mon, 15 Feb 2016 14:28:19 +0100
> schrieb Lennart Poettering <lennart at poettering.net>:
> 
> > On Sun, 14.02.16 13:49, Kai Krakow (hurikhan77 at gmail.com) wrote:
> > 
> > > Hello!
> > > 
> > > I've followed the man page guide to setup mymachines name
> > > resolution in nsswitch.conf. It works. But it takes around 4-5
> > > seconds to resolve a name. This is unexpected and cannot be used in
> > > production.
> > 
> > This sounds like the LLMNR timeout done. I figure we should fix the
> > docs to suggest that "mymachines" appears before "resolve" in
> > nsswitch.conf. That should fix your issue...
> 
> Apparently it doesn't fix it - although I will leave it in this order
> according to your recommendation.
> 
> Is there a way to globally disable LLMNR altogether to nail it down? I
> tried setting LLMNR=false in *.network - didn't help.

Use the LLMNR= setting in /etc/systemd/resolved.conf

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list