Skip to content

nss-resolve returns UNAVAIL for LLMNR resolution failures #14922

@Hello71

Description

@Hello71

If LLMNR is enabled, as I believe is the default, systemd-resolved returns org.freedesktop.DBus.Error.Timeout: All attempts to contact name servers or networks failed. This causes nss-resolve to return UNAVAIL instead of NOTFOUND, causing a delay in lookup. This is especially bad with the recommended NSS resolve + dns fallback, because then at least three resolutions will be performed: resolve, DNS AAAA, DNS A, which will all time out. On my system, this causes the time for failed resolutions to increase from 1.5-2 seconds to 12 seconds.

Similar to #4157, but LLMNR instead of DNSSEC.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions