How to get the systemd resolver to resolve local (i.e. unqalified) names?
Chris Green
cl at isbd.net
Sun Jun 4 09:25:25 UTC 2017
On Sun, Jun 04, 2017 at 05:08:42AM -0400, Tom H wrote:
> On Sat, Jun 3, 2017 at 11:17 AM, Chris Green <cl at isbd.net> wrote:
> >
> > I think this *may* be the issue (from the systemd-resolved man page) :-
> >
> > ยท Single-label names are routed to all local interfaces capable of IP
> > multicasting, using the LLMNR protocol. Lookups for IPv4 addresses are
> > only sent via LLMNR on IPv4, and lookups for IPv6 addresses are only
> > sent via LLMNR on IPv6. Lookups for the locally configured host name
> > and the "gateway" host name are never routed to LLMNR.
> >
> > However I now have LLMNR=no in my resolvd.conf and it *still* doesn't
> > work.
>
> I should've read later emails before replying that you should change
> the LLMNR setting in reply to an older email.
>
OK. :-)
> Is "resolvd.conf" an email typo?
>
Yes, the file is /etc/systemd/resolved.conf
> "man resolved.conf" has "LLMNR will be enabled on a link only if the
> per-link and the global setting is on."
>
Yes, I read that too but it seems not to be true. ... or at least
settung LLMNR=no doesn't seem to put anything in the global section
anyway.
> Maybe you've hit a bug and LLMNR has to be disabled globally and on a
> per-link basis - or only on a per-link basis.
>
> If you're using networkd, you can add "LLMNR=no" to "wlp4s0.network".
>
I can't find any wlp4s0.network file, do I need to create it, if so
where?
--
Chris Green
More information about the ubuntu-users
mailing list