Repository navigation
Conversation
Commit 1750854 caused a regression in the handling of single-label name lookups on interfaces that have both link-local multicast name resolution (LLMNR) and DNS enabled. The expected behavior is for the DNS search domains to be appended when looking up a short name, but that commit modified dns_scope_good_domain() to cause it to return DNS_SCOPE_YES_BASE + 1 for the LLMNR scope for all short names, preventing dns_query_go() from even attempting to use DNS. Fix the problem by reverting the part of commit 1750854 that affected DNS_PROTOCOL_LLMNR. Go back to returning DNS_SCOPE_MAYBE for single-label names. Fixes systemd#11391
|
+@poettering since this is reverting part of one of his changes. |
|
Is there someone who can interpret this bionic-i386 test failure? The log is 12 MB and full of errors that don't seem to be fatal, so it's hard to tell what's actually going wrong or whether it's relevant. |
|
Looking into it some more, it looks like |
|
I misunderstood how I don't know if that's related to this CI failure, because it uses |
|
Hmm, I think this should go the opposite direction: single-label nmes should be bound to classic DNS scopes which have search domains defined with a higher preference, too. will prep a fix for that. |
|
I prepped #11485 that goes the opposite direction. Instead of lowering the preference single-label queries get for LLMNR scopes it increases the preference for single-label queries on DNS scopes that have at least one search domain applied. I think that's better approach, as the reason why 1750854 was made of course still applies: we want that LLMNR is preferably used for single label names over scopes that have "." on their search domain list... |
|
Let's close this one hence in favour of #11485. I hope that makes sense? |
Commit 1750854 caused a regression in the
handling of single-label name lookups on interfaces that have both link-local
multicast name resolution (LLMNR) and DNS enabled. The expected behavior is for
the DNS search domains to be appended when looking up a short name, but that
commit modified dns_scope_good_domain() to cause it to return
DNS_SCOPE_YES_BASE + 1for the LLMNR scope for all short names, preventingdns_query_go() from even attempting to use DNS.
Fix the problem by reverting the part of commit 1750854 that affected
DNS_PROTOCOL_LLMNR. Go back to returning DNS_SCOPE_MAYBE for single-label names.
Fixes #11391