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.