Comment 13 for bug 1699660

Revision history for this message
Tom Fields (udzelem) wrote :

Hi,

Ubuntu 18.10 using systemd version 239-7ubuntu10.5:

I also see random results for dot-less domain or host names, i.e. it seems after a certain timeout, a hostname is not found e.g. when trying to establish an SSH connection to that machine using a single-label name. Immediately followed by a second try however, all is working again.

This looks like a time-out or caching issue.

Quoting https://github.com/systemd/systemd/issues/6224#issuecomment-312639959:
"LLMNR lookups for missing names need to time out (because it is a true multicasting peer-to-peer protocol, and a name that doesn't exist means that there's nobody responding to an LLMNR query), but the host command on the client side times out even earlier than that, and then doesn't continue with the search domains, as search domains have to be honoured client-side, i.e. inside the "host" command."

I have now disabled LLMNR in /etc/systemd/resolved.conf and will observer in the next days if this changes the behaviour.